We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5666f5 commit 0450ba9Copy full SHA for 0450ba9
src/jdk.jfr/share/classes/jdk/jfr/internal/settings/ThrottleSetting.java
@@ -94,7 +94,7 @@ public void setValue(String value) {
94
// if unit is less than 1 s, scale samples
95
if (unit.nanos < SECONDS.nanos) {
96
long perSecond = SECONDS.nanos / unit.nanos;
97
- samples *= Utils.multiplyOverflow(samples, perSecond, Long.MAX_VALUE);
+ samples = Utils.multiplyOverflow(samples, perSecond, Long.MAX_VALUE);
98
}
99
eventType.setThrottle(samples, millis);
100
this.value = value;
0 commit comments