Mercurial > hg > graal-jvmci-8
comparison agent/src/share/classes/sun/jvm/hotspot/utilities/HeapGXLWriter.java @ 10343:6bd680e9ea35
8003421: NPG: Move oops out of InstanceKlass into mirror
Summary: Inject protection_domain, signers, init_lock into java_lang_Class
Reviewed-by: stefank, dholmes, sla
author | coleenp |
---|---|
date | Wed, 22 May 2013 14:37:49 -0400 |
parents | da91efe96a93 |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
10342:1a07e086ff28 | 10343:6bd680e9ea35 |
---|---|
202 | 202 |
203 // write loader | 203 // write loader |
204 Oop loader = ik.getClassLoader(); | 204 Oop loader = ik.getClassLoader(); |
205 writeEdge(instance, loader, "loaded-by"); | 205 writeEdge(instance, loader, "loaded-by"); |
206 | 206 |
207 // write signers | 207 // write signers NYI |
208 Oop signers = ik.getSigners(); | 208 // Oop signers = ik.getJavaMirror().getSigners(); |
209 writeEdge(instance, signers, "signed-by"); | 209 writeEdge(instance, null, "signed-by"); |
210 | 210 |
211 // write protection domain | 211 // write protection domain NYI |
212 Oop protectionDomain = ik.getProtectionDomain(); | 212 // Oop protectionDomain = ik.getJavaMirror().getProtectionDomain(); |
213 writeEdge(instance, protectionDomain, "protection-domain"); | 213 writeEdge(instance, null, "protection-domain"); |
214 | 214 |
215 // write edges for static reference fields from this class | 215 // write edges for static reference fields from this class |
216 for (Iterator itr = refFields.iterator(); itr.hasNext();) { | 216 for (Iterator itr = refFields.iterator(); itr.hasNext();) { |
217 OopField field = (OopField) itr.next(); | 217 OopField field = (OopField) itr.next(); |
218 Oop ref = field.getValue(reflectedType); | 218 Oop ref = field.getValue(reflectedType); |