8157498: compiler/codecache/jmx/InitialAndMaxUsageTest.java times out on 32-bit platforms
Reviewed-by: kvn
This commit is contained in:
parent
b06d871fad
commit
8d7182f2a7
@ -90,7 +90,7 @@ public class InitialAndMaxUsageTest {
|
||||
Asserts.assertEQ(initialUsage, 0L, "Unexpected initial usage");
|
||||
}
|
||||
ArrayList<Long> blobs = new ArrayList<>();
|
||||
long minAllocationUnit = Math.max(0, CodeCacheUtils.MIN_ALLOCATION - headerSize);
|
||||
long minAllocationUnit = Math.max(1, CodeCacheUtils.MIN_ALLOCATION - headerSize);
|
||||
/* now filling code cache with large-sized allocation first, since
|
||||
lots of small allocations takes too much time, so, just a small
|
||||
optimization */
|
||||
|
Loading…
x
Reference in New Issue
Block a user