Skip to content

Commit 88b7ba3

Browse files
Add missing nativemem jfr setting (async-profiler#1542)
1 parent 7a86354 commit 88b7ba3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/flightRecorder.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,9 @@ class Recording {
662662
writeIntSetting(buf, T_EXECUTION_SAMPLE, "wall", args._wall);
663663
writeBoolSetting(buf, T_EXECUTION_SAMPLE, "nobatch", args._nobatch);
664664
}
665+
if (args._nativemem >= 0) {
666+
writeIntSetting(buf, T_MALLOC, "nativemem", args._nativemem);
667+
}
665668

666669
writeBoolSetting(buf, T_ALLOC_IN_NEW_TLAB, "enabled", args._alloc >= 0);
667670
writeBoolSetting(buf, T_ALLOC_OUTSIDE_TLAB, "enabled", args._alloc >= 0);

0 commit comments

Comments
 (0)