equal
deleted
inserted
replaced
60 #include "runtime/vmOperations.hpp" |
60 #include "runtime/vmOperations.hpp" |
61 #include "utilities/macros.hpp" |
61 #include "utilities/macros.hpp" |
62 #if INCLUDE_ZGC |
62 #if INCLUDE_ZGC |
63 #include "gc/z/zGlobals.hpp" |
63 #include "gc/z/zGlobals.hpp" |
64 #endif |
64 #endif |
|
65 #if INCLUDE_JVMCI |
|
66 #include "jvmci/jvmci.hpp" |
|
67 #endif |
65 |
68 |
66 // JvmtiTagHashmapEntry |
69 // JvmtiTagHashmapEntry |
67 // |
70 // |
68 // Each entry encapsulates a reference to the tagged object |
71 // Each entry encapsulates a reference to the tagged object |
69 // and the tag value. In addition an entry includes a next pointer which |
72 // and the tag value. In addition an entry includes a next pointer which |
3032 // Other kinds of roots maintained by HotSpot |
3035 // Other kinds of roots maintained by HotSpot |
3033 // Many of these won't be visible but others (such as instances of important |
3036 // Many of these won't be visible but others (such as instances of important |
3034 // exceptions) will be visible. |
3037 // exceptions) will be visible. |
3035 blk.set_kind(JVMTI_HEAP_REFERENCE_OTHER); |
3038 blk.set_kind(JVMTI_HEAP_REFERENCE_OTHER); |
3036 Universe::oops_do(&blk); |
3039 Universe::oops_do(&blk); |
|
3040 if (blk.stopped()) { |
|
3041 return false; |
|
3042 } |
|
3043 |
|
3044 #if INCLUDE_JVMCI |
|
3045 blk.set_kind(JVMTI_HEAP_REFERENCE_OTHER); |
|
3046 JVMCI::oops_do(&blk); |
|
3047 if (blk.stopped()) { |
|
3048 return false; |
|
3049 } |
|
3050 #endif |
3037 |
3051 |
3038 return true; |
3052 return true; |
3039 } |
3053 } |
3040 |
3054 |
3041 // Walk the stack of a given thread and find all references (locals |
3055 // Walk the stack of a given thread and find all references (locals |