File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 41
41
#include " runtime/atomic.hpp"
42
42
#include " utilities/bitMap.inline.hpp"
43
43
44
+ inline bool G1STWIsAliveClosure::do_object_b (oop p) {
45
+ // An object is reachable if it is outside the collection set,
46
+ // or is inside and copied.
47
+ return !_g1h->is_in_cset (p) || p->is_forwarded ();
48
+ }
49
+
44
50
G1GCPhaseTimes* G1CollectedHeap::phase_times () const {
45
51
return _policy->phase_times ();
46
52
}
Original file line number Diff line number Diff line change 29
29
#include " compiler/oopMap.hpp"
30
30
#include " gc/g1/g1Allocator.hpp"
31
31
#include " gc/g1/g1CardSetMemory.hpp"
32
- #include " gc/g1/g1CollectedHeap.hpp"
32
+ #include " gc/g1/g1CollectedHeap.inline. hpp"
33
33
#include " gc/g1/g1CollectorState.hpp"
34
34
#include " gc/g1/g1ConcurrentMark.hpp"
35
35
#include " gc/g1/g1GCPhaseTimes.hpp"
@@ -987,12 +987,6 @@ void G1YoungCollector::process_discovered_references(G1ParScanThreadStateSet* pe
987
987
phase_times ()->record_ref_proc_time ((Ticks::now () - start).seconds () * MILLIUNITS);
988
988
}
989
989
990
- bool G1STWIsAliveClosure::do_object_b (oop p) {
991
- // An object is reachable if it is outside the collection set,
992
- // or is inside and copied.
993
- return !_g1h->is_in_cset (p) || p->is_forwarded ();
994
- }
995
-
996
990
void G1YoungCollector::post_evacuate_cleanup_1 (G1ParScanThreadStateSet* per_thread_states) {
997
991
Ticks start = Ticks::now ();
998
992
{
You can’t perform that action at this time.
0 commit comments