test/serviceability/dcmd/CodeCacheTest.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/test/serviceability/dcmd/CodeCacheTest.java Tue Sep 30 15:26:16 2014
--- new/test/serviceability/dcmd/CodeCacheTest.java Tue Sep 30 15:26:16 2014
*** 50,60 ****
--- 50,60 ----
* total_blobs=575 nmethods=69 adapters=423
* compilation: enabled
*
* Expected output with code cache segmentation (number of segments may change):
*
! * CodeHeap 'non-nmethods': size=5696Kb used=2236Kb max_used=2238Kb free=3459Kb
* bounds [0x00007fa0f0ffe000, 0x00007fa0f126e000, 0x00007fa0f158e000]
* CodeHeap 'profiled nmethods': size=120036Kb used=8Kb max_used=8Kb free=120027Kb
* bounds [0x00007fa0f158e000, 0x00007fa0f17fe000, 0x00007fa0f8ac7000]
* CodeHeap 'non-profiled nmethods': size=120036Kb used=2Kb max_used=2Kb free=120034Kb
* bounds [0x00007fa0f8ac7000, 0x00007fa0f8d37000, 0x00007fa100000000]
*** 93,103 ****
--- 93,103 ----
segmentsCount = 1;
} else if (getFlagBool("TieredCompilation", flags) && getFlagInt("TieredStopAtLevel", flags) > 1) {
// Tiered compilation: use all segments
segmentsCount = 3;
} else {
! // No TieredCompilation: only non-nmethod and non-profiled segment
segmentsCount = 2;
}
// Get output from dcmd (diagnostic command)
String result = DcmdUtil.executeDcmd("Compiler.codecache");
test/serviceability/dcmd/CodeCacheTest.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File