src/share/vm/runtime/vmStructs.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 6766644 Sdiff src/share/vm/runtime

src/share/vm/runtime/vmStructs.cpp

Print this page
rev 2029 : 6766644: Redefinition of compiled method fails with assertion "Can not load classes with the Compiler thread"
Summary: Defer posting events from the compiler thread -- use service thread
Reviewed-by:
* * *


  77 #include "oops/markOop.hpp"
  78 #include "oops/methodDataKlass.hpp"
  79 #include "oops/methodDataOop.hpp"
  80 #include "oops/methodKlass.hpp"
  81 #include "oops/methodOop.hpp"
  82 #include "oops/objArrayKlass.hpp"
  83 #include "oops/objArrayKlassKlass.hpp"
  84 #include "oops/objArrayOop.hpp"
  85 #include "oops/oop.inline.hpp"
  86 #include "oops/symbolKlass.hpp"
  87 #include "oops/symbolOop.hpp"
  88 #include "oops/typeArrayKlass.hpp"
  89 #include "oops/typeArrayKlassKlass.hpp"
  90 #include "oops/typeArrayOop.hpp"
  91 #include "prims/jvmtiAgentThread.hpp"
  92 #include "runtime/arguments.hpp"
  93 #include "runtime/globals.hpp"
  94 #include "runtime/java.hpp"
  95 #include "runtime/javaCalls.hpp"
  96 #include "runtime/perfMemory.hpp"

  97 #include "runtime/sharedRuntime.hpp"
  98 #include "runtime/stubRoutines.hpp"
  99 #include "runtime/virtualspace.hpp"
 100 #include "runtime/vmStructs.hpp"
 101 #include "utilities/globalDefinitions.hpp"
 102 #include "utilities/hashtable.hpp"
 103 #ifdef TARGET_ARCH_x86
 104 # include "vmStructs_x86.hpp"
 105 #endif
 106 #ifdef TARGET_ARCH_sparc
 107 # include "vmStructs_sparc.hpp"
 108 #endif
 109 #ifdef TARGET_ARCH_zero
 110 # include "vmStructs_zero.hpp"
 111 #endif
 112 #ifdef TARGET_OS_FAMILY_linux
 113 # include "thread_linux.inline.hpp"
 114 #endif
 115 #ifdef TARGET_OS_FAMILY_solaris
 116 # include "thread_solaris.inline.hpp"


1229     declare_type(LoaderConstraintEntry, HashtableEntry)                   \
1230   declare_toplevel_type(HashtableEntry*)                                  \
1231   declare_toplevel_type(DictionaryEntry*)                                 \
1232   declare_toplevel_type(HashtableBucket)                                  \
1233   declare_toplevel_type(HashtableBucket*)                                 \
1234   declare_toplevel_type(SystemDictionary)                                 \
1235   declare_toplevel_type(ProtectionDomainEntry)                            \
1236   declare_toplevel_type(ProtectionDomainEntry*)                           \
1237                                                                           \
1238   /***********************************************************/           \
1239   /* Thread hierarchy (needed for run-time type information) */           \
1240   /***********************************************************/           \
1241                                                                           \
1242   declare_toplevel_type(Threads)                                          \
1243   declare_toplevel_type(ThreadShadow)                                     \
1244            declare_type(Thread, ThreadShadow)                             \
1245            declare_type(NamedThread, Thread)                              \
1246            declare_type(WatcherThread, Thread)                            \
1247            declare_type(JavaThread, Thread)                               \
1248            declare_type(JvmtiAgentThread, JavaThread)                     \
1249            declare_type(LowMemoryDetectorThread, JavaThread)              \
1250   declare_type(CompilerThread, JavaThread)                        \
1251   declare_toplevel_type(OSThread)                                         \
1252   declare_toplevel_type(JavaFrameAnchor)                                  \
1253                                                                           \
1254   /***************/                                                       \
1255   /* Interpreter */                                                       \
1256   /***************/                                                       \
1257                                                                           \
1258   declare_toplevel_type(AbstractInterpreter)                              \
1259                                                                           \
1260   /*********/                                                             \
1261   /* Stubs */                                                             \
1262   /*********/                                                             \
1263                                                                           \
1264   declare_toplevel_type(StubQueue)                                        \
1265   declare_toplevel_type(StubRoutines)                                     \
1266   IA32_ONLY(declare_toplevel_type(StubRoutines::x86))                     \
1267   declare_toplevel_type(Stub)                                             \
1268            declare_type(InterpreterCodelet, Stub)                         \
1269                                                                           \




  77 #include "oops/markOop.hpp"
  78 #include "oops/methodDataKlass.hpp"
  79 #include "oops/methodDataOop.hpp"
  80 #include "oops/methodKlass.hpp"
  81 #include "oops/methodOop.hpp"
  82 #include "oops/objArrayKlass.hpp"
  83 #include "oops/objArrayKlassKlass.hpp"
  84 #include "oops/objArrayOop.hpp"
  85 #include "oops/oop.inline.hpp"
  86 #include "oops/symbolKlass.hpp"
  87 #include "oops/symbolOop.hpp"
  88 #include "oops/typeArrayKlass.hpp"
  89 #include "oops/typeArrayKlassKlass.hpp"
  90 #include "oops/typeArrayOop.hpp"
  91 #include "prims/jvmtiAgentThread.hpp"
  92 #include "runtime/arguments.hpp"
  93 #include "runtime/globals.hpp"
  94 #include "runtime/java.hpp"
  95 #include "runtime/javaCalls.hpp"
  96 #include "runtime/perfMemory.hpp"
  97 #include "runtime/serviceThread.hpp"
  98 #include "runtime/sharedRuntime.hpp"
  99 #include "runtime/stubRoutines.hpp"
 100 #include "runtime/virtualspace.hpp"
 101 #include "runtime/vmStructs.hpp"
 102 #include "utilities/globalDefinitions.hpp"
 103 #include "utilities/hashtable.hpp"
 104 #ifdef TARGET_ARCH_x86
 105 # include "vmStructs_x86.hpp"
 106 #endif
 107 #ifdef TARGET_ARCH_sparc
 108 # include "vmStructs_sparc.hpp"
 109 #endif
 110 #ifdef TARGET_ARCH_zero
 111 # include "vmStructs_zero.hpp"
 112 #endif
 113 #ifdef TARGET_OS_FAMILY_linux
 114 # include "thread_linux.inline.hpp"
 115 #endif
 116 #ifdef TARGET_OS_FAMILY_solaris
 117 # include "thread_solaris.inline.hpp"


1230     declare_type(LoaderConstraintEntry, HashtableEntry)                   \
1231   declare_toplevel_type(HashtableEntry*)                                  \
1232   declare_toplevel_type(DictionaryEntry*)                                 \
1233   declare_toplevel_type(HashtableBucket)                                  \
1234   declare_toplevel_type(HashtableBucket*)                                 \
1235   declare_toplevel_type(SystemDictionary)                                 \
1236   declare_toplevel_type(ProtectionDomainEntry)                            \
1237   declare_toplevel_type(ProtectionDomainEntry*)                           \
1238                                                                           \
1239   /***********************************************************/           \
1240   /* Thread hierarchy (needed for run-time type information) */           \
1241   /***********************************************************/           \
1242                                                                           \
1243   declare_toplevel_type(Threads)                                          \
1244   declare_toplevel_type(ThreadShadow)                                     \
1245            declare_type(Thread, ThreadShadow)                             \
1246            declare_type(NamedThread, Thread)                              \
1247            declare_type(WatcherThread, Thread)                            \
1248            declare_type(JavaThread, Thread)                               \
1249            declare_type(JvmtiAgentThread, JavaThread)                     \
1250            declare_type(ServiceThread, JavaThread)                        \
1251   declare_type(CompilerThread, JavaThread)                        \
1252   declare_toplevel_type(OSThread)                                         \
1253   declare_toplevel_type(JavaFrameAnchor)                                  \
1254                                                                           \
1255   /***************/                                                       \
1256   /* Interpreter */                                                       \
1257   /***************/                                                       \
1258                                                                           \
1259   declare_toplevel_type(AbstractInterpreter)                              \
1260                                                                           \
1261   /*********/                                                             \
1262   /* Stubs */                                                             \
1263   /*********/                                                             \
1264                                                                           \
1265   declare_toplevel_type(StubQueue)                                        \
1266   declare_toplevel_type(StubRoutines)                                     \
1267   IA32_ONLY(declare_toplevel_type(StubRoutines::x86))                     \
1268   declare_toplevel_type(Stub)                                             \
1269            declare_type(InterpreterCodelet, Stub)                         \
1270                                                                           \


src/share/vm/runtime/vmStructs.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File