mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8209821: Make JVMTI GetClassLoaderClasses not walk CLDG
And also added function with KlassClosure to remove the hacks. Reviewed-by: lfoltan, sspitsyn
This commit is contained in:
parent
51c04f947f
commit
fd9fa38d21
10 changed files with 62 additions and 258 deletions
|
@ -63,7 +63,6 @@ class ThreadsList;
|
|||
class ThreadsSMRSupport;
|
||||
|
||||
class JvmtiThreadState;
|
||||
class JvmtiGetLoadedClassesClosure;
|
||||
class ThreadStatistics;
|
||||
class ConcurrentLocksDump;
|
||||
class ParkEvent;
|
||||
|
@ -1885,8 +1884,6 @@ class JavaThread: public Thread {
|
|||
// the specified JavaThread is exiting.
|
||||
JvmtiThreadState *jvmti_thread_state() const { return _jvmti_thread_state; }
|
||||
static ByteSize jvmti_thread_state_offset() { return byte_offset_of(JavaThread, _jvmti_thread_state); }
|
||||
void set_jvmti_get_loaded_classes_closure(JvmtiGetLoadedClassesClosure* value) { _jvmti_get_loaded_classes_closure = value; }
|
||||
JvmtiGetLoadedClassesClosure* get_jvmti_get_loaded_classes_closure() const { return _jvmti_get_loaded_classes_closure; }
|
||||
|
||||
// JVMTI PopFrame support
|
||||
// Setting and clearing popframe_condition
|
||||
|
@ -1938,7 +1935,6 @@ class JavaThread: public Thread {
|
|||
|
||||
private:
|
||||
JvmtiThreadState *_jvmti_thread_state;
|
||||
JvmtiGetLoadedClassesClosure* _jvmti_get_loaded_classes_closure;
|
||||
|
||||
// Used by the interpreter in fullspeed mode for frame pop, method
|
||||
// entry, method exit and single stepping support. This field is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue