equal
deleted
inserted
replaced
61 #include "runtime/vmOperations.hpp" |
61 #include "runtime/vmOperations.hpp" |
62 #include "utilities/macros.hpp" |
62 #include "utilities/macros.hpp" |
63 #if INCLUDE_ZGC |
63 #if INCLUDE_ZGC |
64 #include "gc/z/zGlobals.hpp" |
64 #include "gc/z/zGlobals.hpp" |
65 #endif |
65 #endif |
66 #if INCLUDE_JVMCI |
|
67 #include "jvmci/jvmci.hpp" |
|
68 #endif |
|
69 |
66 |
70 // JvmtiTagHashmapEntry |
67 // JvmtiTagHashmapEntry |
71 // |
68 // |
72 // Each entry encapsulates a reference to the tagged object |
69 // Each entry encapsulates a reference to the tagged object |
73 // and the tag value. In addition an entry includes a next pointer which |
70 // and the tag value. In addition an entry includes a next pointer which |
3040 Universe::oops_do(&blk); |
3037 Universe::oops_do(&blk); |
3041 if (blk.stopped()) { |
3038 if (blk.stopped()) { |
3042 return false; |
3039 return false; |
3043 } |
3040 } |
3044 |
3041 |
3045 #if INCLUDE_JVMCI |
|
3046 blk.set_kind(JVMTI_HEAP_REFERENCE_OTHER); |
|
3047 JVMCI::oops_do(&blk); |
|
3048 if (blk.stopped()) { |
|
3049 return false; |
|
3050 } |
|
3051 #endif |
|
3052 |
|
3053 return true; |
3042 return true; |
3054 } |
3043 } |
3055 |
3044 |
3056 // Walk the stack of a given thread and find all references (locals |
3045 // Walk the stack of a given thread and find all references (locals |
3057 // and JNI calls) and report these as stack references |
3046 // and JNI calls) and report these as stack references |