Skip to content

Commit ce745f6

Browse files
[GR-46539] Fix incorrect buffer pool adjustment during sampler start.
PullRequest: graal/15147
2 parents 3a05987 + f230018 commit ce745f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jfr/sampler/AbstractJfrExecutionSampler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ protected void operate() {
262262
boolean shouldSample = shouldSample();
263263
if (sampler.isSampling != shouldSample) {
264264
if (shouldSample) {
265-
sampler.startSampling();
266265
sampler.isSampling = true;
266+
sampler.startSampling();
267267
} else {
268268
sampler.stopSampling();
269269
sampler.isSampling = false;

0 commit comments

Comments
 (0)