8221219: ZGC: Remove ZStallOnOutOfMemory option

Reviewed-by: stefank, eosterlund
This commit is contained in:
Per Lidén 2019-03-22 12:49:33 +01:00
parent 8b38ebf1a2
commit 5fdcdaadd4
2 changed files with 0 additions and 8 deletions

View File

@ -186,10 +186,6 @@ uintptr_t ZObjectAllocator::alloc_object(size_t size) {
ZAllocationFlags flags;
flags.set_no_reserve();
if (!ZStallOnOutOfMemory) {
flags.set_non_blocking();
}
return alloc_object(size, flags);
}

View File

@ -49,10 +49,6 @@
experimental(double, ZFragmentationLimit, 25.0, \
"Maximum allowed heap fragmentation") \
\
experimental(bool, ZStallOnOutOfMemory, true, \
"Allow Java threads to stall and wait for GC to complete " \
"instead of immediately throwing an OutOfMemoryError") \
\
experimental(size_t, ZMarkStackSpaceLimit, 8*G, \
"Maximum number of bytes allocated for mark stacks") \
range(32*M, 1024*G) \