We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c425ca commit 2a4f329Copy full SHA for 2a4f329
src/converter/one/convert/JfrConverter.java
@@ -82,8 +82,9 @@ protected EventCollector createCollector(Arguments args) {
82
}
83
84
protected void collectEvents(TimeIntervals timeIntervals) throws IOException {
85
- Class<? extends Event> eventClass = args.nativelock ? NativeLockEvent.class
86
- : args.nativemem ? MallocEvent.class
+ // args.nativemem ? MallocEvent.class should always be first for the leak detection feature
+ Class<? extends Event> eventClass = args.nativemem ? MallocEvent.class
87
+ : args.nativelock ? NativeLockEvent.class
88
: args.live ? LiveObject.class
89
: args.alloc ? AllocationSample.class
90
: args.lock ? ContendedLock.class
0 commit comments