mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8076454
: Clean up/move things out of SharedHeap
Reviewed-by: stefank, sjohanss, david
This commit is contained in:
parent
66fc45f602
commit
c3b72f7f5b
13 changed files with 66 additions and 181 deletions
|
@ -205,7 +205,7 @@ class CollectedHeap : public CHeapObj<mtInternal> {
|
|||
// In many heaps, there will be a need to perform some initialization activities
|
||||
// after the Universe is fully formed, but before general heap allocation is allowed.
|
||||
// This is the correct place to place such initialization methods.
|
||||
virtual void post_initialize() = 0;
|
||||
virtual void post_initialize();
|
||||
|
||||
// Stop any onging concurrent work and prepare for exit.
|
||||
virtual void stop() {}
|
||||
|
@ -470,6 +470,7 @@ class CollectedHeap : public CHeapObj<mtInternal> {
|
|||
|
||||
// Returns the barrier set for this heap
|
||||
BarrierSet* barrier_set() { return _barrier_set; }
|
||||
void set_barrier_set(BarrierSet* barrier_set);
|
||||
|
||||
// Returns "true" iff there is a stop-world GC in progress. (I assume
|
||||
// that it should answer "false" for the concurrent part of a concurrent
|
||||
|
@ -497,12 +498,6 @@ class CollectedHeap : public CHeapObj<mtInternal> {
|
|||
// Return the CollectorPolicy for the heap
|
||||
virtual CollectorPolicy* collector_policy() const = 0;
|
||||
|
||||
void oop_iterate_no_header(OopClosure* cl);
|
||||
|
||||
// Iterate over all the ref-containing fields of all objects, calling
|
||||
// "cl.do_oop" on each.
|
||||
virtual void oop_iterate(ExtendedOopClosure* cl) = 0;
|
||||
|
||||
// Iterate over all objects, calling "cl.do_object" on each.
|
||||
virtual void object_iterate(ObjectClosure* cl) = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue