author | david |
Tue, 29 Sep 2015 11:02:08 +0200 | |
changeset 33105 | 294e48b4f704 |
parent 32606 | fdaa30d06ada |
child 33226 | 19cb9b844190 |
permissions | -rw-r--r-- |
1 | 1 |
/* |
22234
da823d78ad65
8029233: Update copyright year to match last edit in jdk8 hotspot repository for 2013
mikael
parents:
17625
diff
changeset
|
2 |
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
1 | 3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
* |
|
5 |
* This code is free software; you can redistribute it and/or modify it |
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
|
7 |
* published by the Free Software Foundation. |
|
8 |
* |
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
|
13 |
* accompanied this code). |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License version |
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
18 |
* |
|
5547
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
4738
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
4738
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
4738
diff
changeset
|
21 |
* questions. |
1 | 22 |
* |
23 |
*/ |
|
24 |
||
7397 | 25 |
#ifndef SHARE_VM_MEMORY_ITERATOR_HPP |
26 |
#define SHARE_VM_MEMORY_ITERATOR_HPP |
|
27 |
||
28 |
#include "memory/allocation.hpp" |
|
29 |
#include "memory/memRegion.hpp" |
|
30 |
#include "utilities/top.hpp" |
|
31 |
||
3908
24b55ad4c228
6863023: need non-perm oops in code cache for JSR 292
jrose
parents:
1388
diff
changeset
|
32 |
class CodeBlob; |
3913
e049e6b81e11
6885169: merge of 4957990 and 6863023 causes conflict on do_nmethods
jrose
parents:
3912
diff
changeset
|
33 |
class nmethod; |
1 | 34 |
class ReferenceProcessor; |
3696 | 35 |
class DataLayout; |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
36 |
class KlassClosure; |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
37 |
class ClassLoaderData; |
1 | 38 |
|
23538 | 39 |
// The following classes are C++ `closures` for iterating over objects, roots and spaces |
1374
4c24294029a9
6711316: Open source the Garbage-First garbage collector
ysr
parents:
360
diff
changeset
|
40 |
|
23538 | 41 |
class Closure : public StackObj { }; |
1374
4c24294029a9
6711316: Open source the Garbage-First garbage collector
ysr
parents:
360
diff
changeset
|
42 |
|
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
43 |
// OopClosure is used for iterating through references to Java objects. |
1374
4c24294029a9
6711316: Open source the Garbage-First garbage collector
ysr
parents:
360
diff
changeset
|
44 |
class OopClosure : public Closure { |
1 | 45 |
public: |
46 |
virtual void do_oop(oop* o) = 0; |
|
360
21d113ecbf6a
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
1
diff
changeset
|
47 |
virtual void do_oop(narrowOop* o) = 0; |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
48 |
}; |
3690 | 49 |
|
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
50 |
// ExtendedOopClosure adds extra code to be run during oop iterations. |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
51 |
// This is needed by the GC and is extracted to a separate type to not |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
52 |
// pollute the OopClosure interface. |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
53 |
class ExtendedOopClosure : public OopClosure { |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
54 |
public: |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
55 |
ReferenceProcessor* _ref_processor; |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
56 |
ExtendedOopClosure(ReferenceProcessor* rp) : _ref_processor(rp) { } |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
57 |
ExtendedOopClosure() : OopClosure(), _ref_processor(NULL) { } |
1 | 58 |
|
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
59 |
// If the do_metadata functions return "true", |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
60 |
// we invoke the following when running oop_iterate(): |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
61 |
// |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
62 |
// 1) do_klass on the header klass pointer. |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
63 |
// 2) do_klass on the klass pointer in the mirrors. |
32606
fdaa30d06ada
8129417: Oop iteration clean-up to remove oop_ms_follow_contents
sjohanss
parents:
30880
diff
changeset
|
64 |
// 3) do_cld on the class loader data in class loaders. |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
65 |
// |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
66 |
// The virtual (without suffix) and the non-virtual (with _nv suffix) need |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
67 |
// to be updated together, or else the devirtualization will break. |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
68 |
// |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
69 |
// Providing default implementations of the _nv functions unfortunately |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
70 |
// removes the compile-time safeness, but reduces the clutter for the |
25492
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
71 |
// ExtendedOopClosures that don't need to walk the metadata. |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
72 |
// Currently, only CMS and G1 need these. |
3696 | 73 |
|
32606
fdaa30d06ada
8129417: Oop iteration clean-up to remove oop_ms_follow_contents
sjohanss
parents:
30880
diff
changeset
|
74 |
bool do_metadata_nv() { return false; } |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
75 |
virtual bool do_metadata() { return do_metadata_nv(); } |
1 | 76 |
|
32606
fdaa30d06ada
8129417: Oop iteration clean-up to remove oop_ms_follow_contents
sjohanss
parents:
30880
diff
changeset
|
77 |
void do_klass_nv(Klass* k) { ShouldNotReachHere(); } |
fdaa30d06ada
8129417: Oop iteration clean-up to remove oop_ms_follow_contents
sjohanss
parents:
30880
diff
changeset
|
78 |
virtual void do_klass(Klass* k) { do_klass_nv(k); } |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
79 |
|
32606
fdaa30d06ada
8129417: Oop iteration clean-up to remove oop_ms_follow_contents
sjohanss
parents:
30880
diff
changeset
|
80 |
void do_cld_nv(ClassLoaderData* cld) { ShouldNotReachHere(); } |
fdaa30d06ada
8129417: Oop iteration clean-up to remove oop_ms_follow_contents
sjohanss
parents:
30880
diff
changeset
|
81 |
virtual void do_cld(ClassLoaderData* cld) { do_cld_nv(cld); } |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
82 |
|
1374
4c24294029a9
6711316: Open source the Garbage-First garbage collector
ysr
parents:
360
diff
changeset
|
83 |
// True iff this closure may be safely applied more than once to an oop |
4c24294029a9
6711316: Open source the Garbage-First garbage collector
ysr
parents:
360
diff
changeset
|
84 |
// location without an intervening "major reset" (like the end of a GC). |
4c24294029a9
6711316: Open source the Garbage-First garbage collector
ysr
parents:
360
diff
changeset
|
85 |
virtual bool idempotent() { return false; } |
4c24294029a9
6711316: Open source the Garbage-First garbage collector
ysr
parents:
360
diff
changeset
|
86 |
virtual bool apply_to_weak_ref_discovered_field() { return false; } |
30150
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
87 |
|
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
88 |
#ifdef ASSERT |
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
89 |
// Default verification of each visited oop field. |
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
90 |
template <typename T> void verify(T* p); |
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
91 |
|
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
92 |
// Can be used by subclasses to turn off the default verification of oop fields. |
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
93 |
virtual bool should_verify_oops() { return true; } |
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
94 |
#endif |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
95 |
}; |
3690 | 96 |
|
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
97 |
// Wrapper closure only used to implement oop_iterate_no_header(). |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
98 |
class NoHeaderExtendedOopClosure : public ExtendedOopClosure { |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
99 |
OopClosure* _wrapped_closure; |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
100 |
public: |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
101 |
NoHeaderExtendedOopClosure(OopClosure* cl) : _wrapped_closure(cl) {} |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
102 |
// Warning: this calls the virtual version do_oop in the the wrapped closure. |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
103 |
void do_oop_nv(oop* p) { _wrapped_closure->do_oop(p); } |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
104 |
void do_oop_nv(narrowOop* p) { _wrapped_closure->do_oop(p); } |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
105 |
|
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
106 |
void do_oop(oop* p) { assert(false, "Only the _nv versions should be used"); |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
107 |
_wrapped_closure->do_oop(p); } |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
108 |
void do_oop(narrowOop* p) { assert(false, "Only the _nv versions should be used"); |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
109 |
_wrapped_closure->do_oop(p);} |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
110 |
}; |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
111 |
|
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
112 |
class KlassClosure : public Closure { |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
113 |
public: |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
114 |
virtual void do_klass(Klass* k) = 0; |
1 | 115 |
}; |
116 |
||
22899
e2a6bf7f343a
8035393: Use CLDClosure instead of CLDToOopClosure in frame::oops_interpreted_do
stefank
parents:
22234
diff
changeset
|
117 |
class CLDClosure : public Closure { |
e2a6bf7f343a
8035393: Use CLDClosure instead of CLDToOopClosure in frame::oops_interpreted_do
stefank
parents:
22234
diff
changeset
|
118 |
public: |
e2a6bf7f343a
8035393: Use CLDClosure instead of CLDToOopClosure in frame::oops_interpreted_do
stefank
parents:
22234
diff
changeset
|
119 |
virtual void do_cld(ClassLoaderData* cld) = 0; |
e2a6bf7f343a
8035393: Use CLDClosure instead of CLDToOopClosure in frame::oops_interpreted_do
stefank
parents:
22234
diff
changeset
|
120 |
}; |
e2a6bf7f343a
8035393: Use CLDClosure instead of CLDToOopClosure in frame::oops_interpreted_do
stefank
parents:
22234
diff
changeset
|
121 |
|
13741
e4395deb8597
7197350: NPG: jvmtiHeapReferenceCallback receives incorrect reference_kind for system class roots
stefank
parents:
13728
diff
changeset
|
122 |
class KlassToOopClosure : public KlassClosure { |
25356
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
123 |
friend class MetadataAwareOopClosure; |
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
124 |
friend class MetadataAwareOopsInGenClosure; |
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
125 |
|
13741
e4395deb8597
7197350: NPG: jvmtiHeapReferenceCallback receives incorrect reference_kind for system class roots
stefank
parents:
13728
diff
changeset
|
126 |
OopClosure* _oop_closure; |
25356
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
127 |
|
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
128 |
// Used when _oop_closure couldn't be set in an initialization list. |
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
129 |
void initialize(OopClosure* oop_closure) { |
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
130 |
assert(_oop_closure == NULL, "Should only be called once"); |
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
131 |
_oop_closure = oop_closure; |
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
132 |
} |
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
133 |
|
25492
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
134 |
public: |
25356
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
135 |
KlassToOopClosure(OopClosure* oop_closure = NULL) : _oop_closure(oop_closure) {} |
25492
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
136 |
|
13741
e4395deb8597
7197350: NPG: jvmtiHeapReferenceCallback receives incorrect reference_kind for system class roots
stefank
parents:
13728
diff
changeset
|
137 |
virtual void do_klass(Klass* k); |
e4395deb8597
7197350: NPG: jvmtiHeapReferenceCallback receives incorrect reference_kind for system class roots
stefank
parents:
13728
diff
changeset
|
138 |
}; |
e4395deb8597
7197350: NPG: jvmtiHeapReferenceCallback receives incorrect reference_kind for system class roots
stefank
parents:
13728
diff
changeset
|
139 |
|
22899
e2a6bf7f343a
8035393: Use CLDClosure instead of CLDToOopClosure in frame::oops_interpreted_do
stefank
parents:
22234
diff
changeset
|
140 |
class CLDToOopClosure : public CLDClosure { |
25492
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
141 |
OopClosure* _oop_closure; |
14582
490bb6c0df7c
8003720: NPG: Method in interpreter stack frame can be deallocated
stefank
parents:
13741
diff
changeset
|
142 |
KlassToOopClosure _klass_closure; |
25492
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
143 |
bool _must_claim_cld; |
14582
490bb6c0df7c
8003720: NPG: Method in interpreter stack frame can be deallocated
stefank
parents:
13741
diff
changeset
|
144 |
|
490bb6c0df7c
8003720: NPG: Method in interpreter stack frame can be deallocated
stefank
parents:
13741
diff
changeset
|
145 |
public: |
490bb6c0df7c
8003720: NPG: Method in interpreter stack frame can be deallocated
stefank
parents:
13741
diff
changeset
|
146 |
CLDToOopClosure(OopClosure* oop_closure, bool must_claim_cld = true) : |
490bb6c0df7c
8003720: NPG: Method in interpreter stack frame can be deallocated
stefank
parents:
13741
diff
changeset
|
147 |
_oop_closure(oop_closure), |
490bb6c0df7c
8003720: NPG: Method in interpreter stack frame can be deallocated
stefank
parents:
13741
diff
changeset
|
148 |
_klass_closure(oop_closure), |
490bb6c0df7c
8003720: NPG: Method in interpreter stack frame can be deallocated
stefank
parents:
13741
diff
changeset
|
149 |
_must_claim_cld(must_claim_cld) {} |
490bb6c0df7c
8003720: NPG: Method in interpreter stack frame can be deallocated
stefank
parents:
13741
diff
changeset
|
150 |
|
490bb6c0df7c
8003720: NPG: Method in interpreter stack frame can be deallocated
stefank
parents:
13741
diff
changeset
|
151 |
void do_cld(ClassLoaderData* cld); |
490bb6c0df7c
8003720: NPG: Method in interpreter stack frame can be deallocated
stefank
parents:
13741
diff
changeset
|
152 |
}; |
490bb6c0df7c
8003720: NPG: Method in interpreter stack frame can be deallocated
stefank
parents:
13741
diff
changeset
|
153 |
|
25492
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
154 |
class CLDToKlassAndOopClosure : public CLDClosure { |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
155 |
friend class G1CollectedHeap; |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
156 |
protected: |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
157 |
OopClosure* _oop_closure; |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
158 |
KlassClosure* _klass_closure; |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
159 |
bool _must_claim_cld; |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
160 |
public: |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
161 |
CLDToKlassAndOopClosure(KlassClosure* klass_closure, |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
162 |
OopClosure* oop_closure, |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
163 |
bool must_claim_cld) : |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
164 |
_oop_closure(oop_closure), |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
165 |
_klass_closure(klass_closure), |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
166 |
_must_claim_cld(must_claim_cld) {} |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
167 |
void do_cld(ClassLoaderData* cld); |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
168 |
}; |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
169 |
|
25356
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
170 |
// The base class for all concurrent marking closures, |
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
171 |
// that participates in class unloading. |
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
172 |
// It's used to proxy through the metadata to the oops defined in them. |
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
173 |
class MetadataAwareOopClosure: public ExtendedOopClosure { |
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
174 |
KlassToOopClosure _klass_closure; |
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
175 |
|
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
176 |
public: |
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
177 |
MetadataAwareOopClosure() : ExtendedOopClosure() { |
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
178 |
_klass_closure.initialize(this); |
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
179 |
} |
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
180 |
MetadataAwareOopClosure(ReferenceProcessor* rp) : ExtendedOopClosure(rp) { |
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
181 |
_klass_closure.initialize(this); |
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
182 |
} |
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
183 |
|
32606
fdaa30d06ada
8129417: Oop iteration clean-up to remove oop_ms_follow_contents
sjohanss
parents:
30880
diff
changeset
|
184 |
bool do_metadata_nv() { return true; } |
fdaa30d06ada
8129417: Oop iteration clean-up to remove oop_ms_follow_contents
sjohanss
parents:
30880
diff
changeset
|
185 |
virtual bool do_metadata() { return do_metadata_nv(); } |
25356
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
186 |
|
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
187 |
void do_klass_nv(Klass* k); |
32606
fdaa30d06ada
8129417: Oop iteration clean-up to remove oop_ms_follow_contents
sjohanss
parents:
30880
diff
changeset
|
188 |
virtual void do_klass(Klass* k) { do_klass_nv(k); } |
25356
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
189 |
|
32606
fdaa30d06ada
8129417: Oop iteration clean-up to remove oop_ms_follow_contents
sjohanss
parents:
30880
diff
changeset
|
190 |
void do_cld_nv(ClassLoaderData* cld); |
fdaa30d06ada
8129417: Oop iteration clean-up to remove oop_ms_follow_contents
sjohanss
parents:
30880
diff
changeset
|
191 |
virtual void do_cld(ClassLoaderData* cld) { do_cld_nv(cld); } |
25356
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
192 |
}; |
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
193 |
|
1 | 194 |
// ObjectClosure is used for iterating through an object space |
195 |
||
1374
4c24294029a9
6711316: Open source the Garbage-First garbage collector
ysr
parents:
360
diff
changeset
|
196 |
class ObjectClosure : public Closure { |
1 | 197 |
public: |
198 |
// Called for each object. |
|
199 |
virtual void do_object(oop obj) = 0; |
|
200 |
}; |
|
201 |
||
202 |
||
17625
3e91c67ddece
8014277: Remove ObjectClosure as base class for BoolObjectClosure
ehelin
parents:
14582
diff
changeset
|
203 |
class BoolObjectClosure : public Closure { |
1 | 204 |
public: |
205 |
virtual bool do_object_b(oop obj) = 0; |
|
206 |
}; |
|
207 |
||
208 |
// Applies an oop closure to all ref fields in objects iterated over in an |
|
209 |
// object iteration. |
|
210 |
class ObjectToOopClosure: public ObjectClosure { |
|
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
211 |
ExtendedOopClosure* _cl; |
1 | 212 |
public: |
213 |
void do_object(oop obj); |
|
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
214 |
ObjectToOopClosure(ExtendedOopClosure* cl) : _cl(cl) {} |
1 | 215 |
}; |
216 |
||
217 |
// A version of ObjectClosure that is expected to be robust |
|
218 |
// in the face of possibly uninitialized objects. |
|
219 |
class ObjectClosureCareful : public ObjectClosure { |
|
220 |
public: |
|
221 |
virtual size_t do_object_careful_m(oop p, MemRegion mr) = 0; |
|
222 |
virtual size_t do_object_careful(oop p) = 0; |
|
223 |
}; |
|
224 |
||
225 |
// The following are used in CompactibleFreeListSpace and |
|
226 |
// ConcurrentMarkSweepGeneration. |
|
227 |
||
228 |
// Blk closure (abstract class) |
|
229 |
class BlkClosure : public StackObj { |
|
230 |
public: |
|
231 |
virtual size_t do_blk(HeapWord* addr) = 0; |
|
232 |
}; |
|
233 |
||
234 |
// A version of BlkClosure that is expected to be robust |
|
235 |
// in the face of possibly uninitialized objects. |
|
236 |
class BlkClosureCareful : public BlkClosure { |
|
237 |
public: |
|
238 |
size_t do_blk(HeapWord* addr) { |
|
239 |
guarantee(false, "call do_blk_careful instead"); |
|
240 |
return 0; |
|
241 |
} |
|
242 |
virtual size_t do_blk_careful(HeapWord* addr) = 0; |
|
243 |
}; |
|
244 |
||
245 |
// SpaceClosure is used for iterating over spaces |
|
246 |
||
247 |
class Space; |
|
248 |
class CompactibleSpace; |
|
249 |
||
250 |
class SpaceClosure : public StackObj { |
|
251 |
public: |
|
252 |
// Called for each space |
|
253 |
virtual void do_space(Space* s) = 0; |
|
254 |
}; |
|
255 |
||
256 |
class CompactibleSpaceClosure : public StackObj { |
|
257 |
public: |
|
258 |
// Called for each compactible space |
|
259 |
virtual void do_space(CompactibleSpace* s) = 0; |
|
260 |
}; |
|
261 |
||
262 |
||
3908
24b55ad4c228
6863023: need non-perm oops in code cache for JSR 292
jrose
parents:
1388
diff
changeset
|
263 |
// CodeBlobClosure is used for iterating through code blobs |
24b55ad4c228
6863023: need non-perm oops in code cache for JSR 292
jrose
parents:
1388
diff
changeset
|
264 |
// in the code cache or on thread stacks |
24b55ad4c228
6863023: need non-perm oops in code cache for JSR 292
jrose
parents:
1388
diff
changeset
|
265 |
|
24b55ad4c228
6863023: need non-perm oops in code cache for JSR 292
jrose
parents:
1388
diff
changeset
|
266 |
class CodeBlobClosure : public Closure { |
24b55ad4c228
6863023: need non-perm oops in code cache for JSR 292
jrose
parents:
1388
diff
changeset
|
267 |
public: |
24b55ad4c228
6863023: need non-perm oops in code cache for JSR 292
jrose
parents:
1388
diff
changeset
|
268 |
// Called for each code blob. |
24b55ad4c228
6863023: need non-perm oops in code cache for JSR 292
jrose
parents:
1388
diff
changeset
|
269 |
virtual void do_code_blob(CodeBlob* cb) = 0; |
24b55ad4c228
6863023: need non-perm oops in code cache for JSR 292
jrose
parents:
1388
diff
changeset
|
270 |
}; |
24b55ad4c228
6863023: need non-perm oops in code cache for JSR 292
jrose
parents:
1388
diff
changeset
|
271 |
|
25492
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
272 |
// Applies an oop closure to all ref fields in code blobs |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
273 |
// iterated over in an object iteration. |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
274 |
class CodeBlobToOopClosure : public CodeBlobClosure { |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
275 |
OopClosure* _cl; |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
276 |
bool _fix_relocations; |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
277 |
protected: |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
278 |
void do_nmethod(nmethod* nm); |
3908
24b55ad4c228
6863023: need non-perm oops in code cache for JSR 292
jrose
parents:
1388
diff
changeset
|
279 |
public: |
25492
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
280 |
CodeBlobToOopClosure(OopClosure* cl, bool fix_relocations) : _cl(cl), _fix_relocations(fix_relocations) {} |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
281 |
virtual void do_code_blob(CodeBlob* cb); |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
282 |
|
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
283 |
const static bool FixRelocations = true; |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
284 |
}; |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
285 |
|
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
286 |
class MarkingCodeBlobClosure : public CodeBlobToOopClosure { |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
287 |
public: |
d27050bdfb04
8049421: G1 Class Unloading after completing a concurrent mark cycle
stefank
parents:
25491
diff
changeset
|
288 |
MarkingCodeBlobClosure(OopClosure* cl, bool fix_relocations) : CodeBlobToOopClosure(cl, fix_relocations) {} |
3908
24b55ad4c228
6863023: need non-perm oops in code cache for JSR 292
jrose
parents:
1388
diff
changeset
|
289 |
// Called for each code blob, but at most once per unique blob. |
24b55ad4c228
6863023: need non-perm oops in code cache for JSR 292
jrose
parents:
1388
diff
changeset
|
290 |
|
24b55ad4c228
6863023: need non-perm oops in code cache for JSR 292
jrose
parents:
1388
diff
changeset
|
291 |
virtual void do_code_blob(CodeBlob* cb); |
24b55ad4c228
6863023: need non-perm oops in code cache for JSR 292
jrose
parents:
1388
diff
changeset
|
292 |
}; |
24b55ad4c228
6863023: need non-perm oops in code cache for JSR 292
jrose
parents:
1388
diff
changeset
|
293 |
|
1 | 294 |
// MonitorClosure is used for iterating over monitors in the monitors cache |
295 |
||
296 |
class ObjectMonitor; |
|
297 |
||
298 |
class MonitorClosure : public StackObj { |
|
299 |
public: |
|
300 |
// called for each monitor in cache |
|
301 |
virtual void do_monitor(ObjectMonitor* m) = 0; |
|
302 |
}; |
|
303 |
||
304 |
// A closure that is applied without any arguments. |
|
305 |
class VoidClosure : public StackObj { |
|
306 |
public: |
|
307 |
// I would have liked to declare this a pure virtual, but that breaks |
|
308 |
// in mysterious ways, for unknown reasons. |
|
309 |
virtual void do_void(); |
|
310 |
}; |
|
311 |
||
312 |
||
313 |
// YieldClosure is intended for use by iteration loops |
|
314 |
// to incrementalize their work, allowing interleaving |
|
315 |
// of an interruptable task so as to allow other |
|
316 |
// threads to run (which may not otherwise be able to access |
|
317 |
// exclusive resources, for instance). Additionally, the |
|
318 |
// closure also allows for aborting an ongoing iteration |
|
319 |
// by means of checking the return value from the polling |
|
320 |
// call. |
|
321 |
class YieldClosure : public StackObj { |
|
322 |
public: |
|
323 |
virtual bool should_return() = 0; |
|
324 |
}; |
|
325 |
||
326 |
// Abstract closure for serializing data (read or write). |
|
327 |
||
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
8921
diff
changeset
|
328 |
class SerializeClosure : public Closure { |
1 | 329 |
public: |
330 |
// Return bool indicating whether closure implements read or write. |
|
331 |
virtual bool reading() const = 0; |
|
332 |
||
333 |
// Read/write the void pointer pointed to by p. |
|
334 |
virtual void do_ptr(void** p) = 0; |
|
335 |
||
336 |
// Read/write the region specified. |
|
337 |
virtual void do_region(u_char* start, size_t size) = 0; |
|
338 |
||
339 |
// Check/write the tag. If reading, then compare the tag against |
|
340 |
// the passed in value and fail is they don't match. This allows |
|
341 |
// for verification that sections of the serialized data are of the |
|
342 |
// correct length. |
|
343 |
virtual void do_tag(int tag) = 0; |
|
344 |
}; |
|
3690 | 345 |
|
8076
96d498ec7ae1
6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents:
7397
diff
changeset
|
346 |
class SymbolClosure : public StackObj { |
96d498ec7ae1
6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents:
7397
diff
changeset
|
347 |
public: |
96d498ec7ae1
6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents:
7397
diff
changeset
|
348 |
virtual void do_symbol(Symbol**) = 0; |
96d498ec7ae1
6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents:
7397
diff
changeset
|
349 |
|
96d498ec7ae1
6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents:
7397
diff
changeset
|
350 |
// Clear LSB in symbol address; it can be set by CPSlot. |
96d498ec7ae1
6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents:
7397
diff
changeset
|
351 |
static Symbol* load_symbol(Symbol** p) { |
96d498ec7ae1
6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents:
7397
diff
changeset
|
352 |
return (Symbol*)(intptr_t(*p) & ~1); |
96d498ec7ae1
6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents:
7397
diff
changeset
|
353 |
} |
96d498ec7ae1
6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents:
7397
diff
changeset
|
354 |
|
96d498ec7ae1
6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents:
7397
diff
changeset
|
355 |
// Store symbol, adjusting new pointer if the original pointer was adjusted |
96d498ec7ae1
6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents:
7397
diff
changeset
|
356 |
// (symbol references in constant pool slots have their LSB set to 1). |
96d498ec7ae1
6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents:
7397
diff
changeset
|
357 |
static void store_symbol(Symbol** p, Symbol* sym) { |
96d498ec7ae1
6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents:
7397
diff
changeset
|
358 |
*p = (Symbol*)(intptr_t(sym) | (intptr_t(*p) & 1)); |
96d498ec7ae1
6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents:
7397
diff
changeset
|
359 |
} |
96d498ec7ae1
6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents:
7397
diff
changeset
|
360 |
}; |
96d498ec7ae1
6990754: Use native memory and reference counting to implement SymbolTable
coleenp
parents:
7397
diff
changeset
|
361 |
|
30150
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
362 |
// The two class template specializations are used to dispatch calls |
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
363 |
// to the ExtendedOopClosure functions. If use_non_virtual_call is true, |
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
364 |
// the non-virtual versions are called (E.g. do_oop_nv), otherwise the |
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
365 |
// virtual versions are called (E.g. do_oop). |
25356
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
366 |
|
30150
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
367 |
template <bool use_non_virtual_call> |
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
368 |
class Devirtualizer {}; |
25356
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
369 |
|
30150
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
370 |
// Dispatches to the non-virtual functions. |
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
371 |
template <> class Devirtualizer<true> { |
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
372 |
public: |
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
373 |
template <class OopClosureType, typename T> static void do_oop(OopClosureType* closure, T* p); |
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
374 |
template <class OopClosureType> static void do_klass(OopClosureType* closure, Klass* k); |
32606
fdaa30d06ada
8129417: Oop iteration clean-up to remove oop_ms_follow_contents
sjohanss
parents:
30880
diff
changeset
|
375 |
template <class OopClosureType> static void do_cld(OopClosureType* closure, ClassLoaderData* cld); |
30150
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
376 |
template <class OopClosureType> static bool do_metadata(OopClosureType* closure); |
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
377 |
}; |
25356
4a4a482298a6
8046670: Make CMS metadata aware closures applicable for other collectors
stefank
parents:
23539
diff
changeset
|
378 |
|
30150
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
379 |
// Dispatches to the virtual functions. |
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
380 |
template <> class Devirtualizer<false> { |
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
381 |
public: |
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
382 |
template <class OopClosureType, typename T> static void do_oop(OopClosureType* closure, T* p); |
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
383 |
template <class OopClosureType> static void do_klass(OopClosureType* closure, Klass* k); |
32606
fdaa30d06ada
8129417: Oop iteration clean-up to remove oop_ms_follow_contents
sjohanss
parents:
30880
diff
changeset
|
384 |
template <class OopClosureType> static void do_cld(OopClosureType* closure, ClassLoaderData* cld); |
30150
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
385 |
template <class OopClosureType> static bool do_metadata(OopClosureType* closure); |
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
386 |
}; |
d9c940aa42ef
8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
stefank
parents:
25492
diff
changeset
|
387 |
|
7397 | 388 |
#endif // SHARE_VM_MEMORY_ITERATOR_HPP |