-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 11
-
Component/s: hotspot
-
b02
The following code(jfrTypeSet.cpp:L388) passes a wrong parameter `_artifacts` to the constructor of LeakKlassWriter:
```
387 } else {
388 LeakKlassWriter lkw(_leakp_writer, _artifacts, _class_unload);
389 CompositeKlassWriter ckw(&lkw, &kw);
390 CompositeKlassWriterRegistration ckwr(&ckw, ®);
391 CompositeKlassCallback callback(&ckwr);
392 _subsystem_callback = &callback;
393 do_klasses();
394 }
```
This problem is introduced byJDK-8225797 and fixed by JDK-8233111.
I filed a new issue to fix it since I think backportingJDK-8233111 is not necessary for the moment.
```
387 } else {
388 LeakKlassWriter lkw(_leakp_writer, _artifacts, _class_unload);
389 CompositeKlassWriter ckw(&lkw, &kw);
390 CompositeKlassWriterRegistration ckwr(&ckw, ®);
391 CompositeKlassCallback callback(&ckwr);
392 _subsystem_callback = &callback;
393 do_klasses();
394 }
```
This problem is introduced by
I filed a new issue to fix it since I think backporting
- relates to
-
JDK-8233111 Epoch shift synchronization point for Compiler threads
-
- Resolved
-
-
JDK-8225797 OldObjectSample event creates unexpected amount of checkpoint data
-
- Resolved
-