81
82 final var MEG = 1024 * 1024;
83 provokeMixedGC(1 * MEG);
84 recording.stop();
85
86 Set<String> usedPhases = fromRecording(recording).stream()
87 .map(e -> e.getValue("name").toString())
88 .collect(toSet());
89
90 Set<String> allPhases = of(
91 "ExtRootScan",
92 "ThreadRoots",
93 "UniverseRoots",
94 "JNIRoots",
95 "ObjectSynchronizerRoots",
96 "ManagementRoots",
97 "SystemDictionaryRoots",
98 "CLDGRoots",
99 "JVMTIRoots",
100 "CMRefRoots",
101 "WaitForStrongCLD",
102 "WeakCLDRoots",
103 "MergeER",
104 "MergeHCC",
105 "MergeRS",
106 "MergeLB",
107 "ScanHR",
108 "CodeRoots",
109 "ObjCopy",
110 "Termination",
111 "StringDedupQueueFixup",
112 "StringDedupTableFixup",
113 "RedirtyCards",
114 "NonYoungFreeCSet",
115 "YoungFreeCSet"
116 );
117
118 // Some GC phases may or may not occur depending on environment. Filter them out
119 // since we can not reliably guarantee that they occur (or not).
120 Set<String> optPhases = of(
121 "OptScanHR",
122 "OptMergeRS",
|
81
82 final var MEG = 1024 * 1024;
83 provokeMixedGC(1 * MEG);
84 recording.stop();
85
86 Set<String> usedPhases = fromRecording(recording).stream()
87 .map(e -> e.getValue("name").toString())
88 .collect(toSet());
89
90 Set<String> allPhases = of(
91 "ExtRootScan",
92 "ThreadRoots",
93 "UniverseRoots",
94 "JNIRoots",
95 "ObjectSynchronizerRoots",
96 "ManagementRoots",
97 "SystemDictionaryRoots",
98 "CLDGRoots",
99 "JVMTIRoots",
100 "CMRefRoots",
101 "WaitForStrongRoots",
102 "MergeER",
103 "MergeHCC",
104 "MergeRS",
105 "MergeLB",
106 "ScanHR",
107 "CodeRoots",
108 "ObjCopy",
109 "Termination",
110 "StringDedupQueueFixup",
111 "StringDedupTableFixup",
112 "RedirtyCards",
113 "NonYoungFreeCSet",
114 "YoungFreeCSet"
115 );
116
117 // Some GC phases may or may not occur depending on environment. Filter them out
118 // since we can not reliably guarantee that they occur (or not).
119 Set<String> optPhases = of(
120 "OptScanHR",
121 "OptMergeRS",
|