< prev index next >

share/gc/serial/serialArguments.cpp

Print this page
rev 1 : G1GC+POGC+NVDIMM Patch with latest comments incorporated from all.

*** 32,38 **** --- 32,41 ---- size_t SerialArguments::conservative_max_heap_alignment() { return GenCollectedHeap::conservative_max_heap_alignment(); } CollectedHeap* SerialArguments::create_heap() { + if (AllocateOldGenAt != NULL) { + vm_exit_during_initialization("The flag -XX:AllocateOldGenAt can not be used with SerialGC. Only ParallelOldGC and G1GC are supported.", NULL); + } return create_heap_with_policy<SerialHeap, MarkSweepPolicy>(); }
< prev index next >