Mercurial > hg > graal-jvmci-8
diff src/share/vm/gc_implementation/g1/concurrentMark.hpp @ 23025:24c446b2460d
8076265: Simplify deal_with_reference
Summary: Eliminate _CHECK_BOTH_FINGERS_ and simplify.
Reviewed-by: brutisso, tschatzl
author | kbarrett |
---|---|
date | Wed, 08 Apr 2015 10:32:16 -0400 |
parents | e7d0505c8a30 |
children | b7c8142a9e0b |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/concurrentMark.hpp Wed Jan 07 15:15:37 2015 +0100 +++ b/src/share/vm/gc_implementation/g1/concurrentMark.hpp Wed Apr 08 10:32:16 2015 -0400 @@ -1108,6 +1108,10 @@ void regular_clock_call(); bool concurrent() { return _concurrent; } + // Test whether objAddr might have already been passed over by the + // mark bitmap scan, and so needs to be pushed onto the mark stack. + bool is_below_finger(HeapWord* objAddr, HeapWord* global_finger) const; + public: // It resets the task; it should be called right at the beginning of // a marking phase.