-
Type:
Enhancement
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: None
-
Component/s: hotspot
By default, the jdk.ThreadStart event is enabled, which means the thread will be included in the recording. Emitting a checkpoint when a thread starts is therefore fine. If jdk.ThreadStart is disabled, an unnecessary checkpoint is written, which adds waste to the recording.
If this is fixed, the following two lines could be added to test/jdk/jfr/jvm/TestWaste.java
// Unused threads should not create unreasonable amount of waste
r.disable("jdk.ThreadStart");
r.disable("jdk.ThreadStop");
If this is fixed, the following two lines could be added to test/jdk/jfr/jvm/TestWaste.java
// Unused threads should not create unreasonable amount of waste
r.disable("jdk.ThreadStart");
r.disable("jdk.ThreadStop");