Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.inline.hpp @ 1027:39b01ab7035a
6888898: CMS: ReduceInitialCardMarks unsafe in the presence of cms precleaning
6889757: G1: enable card mark elision for initializing writes from compiled code (ReduceInitialCardMarks)
Summary: Defer the (compiler-elided) card-mark upon a slow-path allocation until after the store and before the next subsequent safepoint; G1 now answers yes to can_elide_tlab_write_barriers().
Reviewed-by: jcoomes, kvn, never
author | ysr |
---|---|
date | Fri, 16 Oct 2009 02:05:46 -0700 |
parents | a61af66fc99e |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1025:1ee412f7fec9 | 1027:39b01ab7035a |
---|---|
39 PSParallelCompact::invoke(maximum_compaction); | 39 PSParallelCompact::invoke(maximum_compaction); |
40 } else { | 40 } else { |
41 PSMarkSweep::invoke(maximum_compaction); | 41 PSMarkSweep::invoke(maximum_compaction); |
42 } | 42 } |
43 } | 43 } |
44 | |
45 inline bool ParallelScavengeHeap::is_in_young(oop p) { | |
46 return young_gen()->is_in_reserved(p); | |
47 } | |
48 | |
49 inline bool ParallelScavengeHeap::is_in_old_or_perm(oop p) { | |
50 return old_gen()->is_in_reserved(p) || perm_gen()->is_in_reserved(p); | |
51 } |