Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp @ 845:df6caf649ff7
6700789: G1: Enable use of compressed oops with G1 heaps
Summary: Modifications to G1 so as to allow the use of compressed oops.
Reviewed-by: apetrusenko, coleenp, jmasa, kvn, never, phh, tonyp
author | ysr |
---|---|
date | Tue, 14 Jul 2009 15:40:39 -0700 |
parents | 315a5d70b295 |
children | 6cb8e9df7174 |
comparison
equal
deleted
inserted
replaced
839:bb18957ad21e | 845:df6caf649ff7 |
---|---|
290 | 290 |
291 assert(Heap_lock->owned_by_self(), "Locking discipline."); | 291 assert(Heap_lock->owned_by_self(), "Locking discipline."); |
292 | 292 |
293 if (G1SteadyStateUsed < 50) { | 293 if (G1SteadyStateUsed < 50) { |
294 vm_exit_during_initialization("G1SteadyStateUsed must be at least 50%."); | 294 vm_exit_during_initialization("G1SteadyStateUsed must be at least 50%."); |
295 } | |
296 if (UseConcMarkSweepGC) { | |
297 vm_exit_during_initialization("-XX:+UseG1GC is incompatible with " | |
298 "-XX:+UseConcMarkSweepGC."); | |
299 } | 295 } |
300 | 296 |
301 initialize_gc_policy_counters(); | 297 initialize_gc_policy_counters(); |
302 | 298 |
303 if (G1Gen) { | 299 if (G1Gen) { |