8223531: [Graal] assert(type() == T_INT) failed: type check
authordnsimon
Fri, 10 May 2019 10:30:06 -0700
changeset 54812 f2d5f44d994e
parent 54811 9db7c0f561a6
child 54813 0fe908af327e
8223531: [Graal] assert(type() == T_INT) failed: type check Reviewed-by: dlong, thartmann, never, kvn
src/hotspot/share/jvmci/jvmciEnv.hpp
src/hotspot/share/jvmci/vmStructs_jvmci.cpp
--- a/src/hotspot/share/jvmci/jvmciEnv.hpp	Thu May 09 10:28:29 2019 -0700
+++ b/src/hotspot/share/jvmci/jvmciEnv.hpp	Fri May 10 10:30:06 2019 -0700
@@ -87,7 +87,7 @@
 // by the CompileBroker.  It is created in the broker and passed through
 // into the code installation step.
 class JVMCICompileState : public ResourceObj {
-  friend class VMStructs;
+  friend class JVMCIVMStructs;
  private:
   CompileTask*     _task;
   int              _system_dictionary_modification_counter;
--- a/src/hotspot/share/jvmci/vmStructs_jvmci.cpp	Thu May 09 10:28:29 2019 -0700
+++ b/src/hotspot/share/jvmci/vmStructs_jvmci.cpp	Fri May 10 10:30:06 2019 -0700
@@ -162,6 +162,11 @@
   volatile_nonstatic_field(JavaFrameAnchor,    _last_Java_sp,                                 intptr_t*)                             \
   volatile_nonstatic_field(JavaFrameAnchor,    _last_Java_pc,                                 address)                               \
                                                                                                                                      \
+  nonstatic_field(JVMCICompileState,           _jvmti_can_hotswap_or_post_breakpoint,         jbyte)                                 \
+  nonstatic_field(JVMCICompileState,           _jvmti_can_access_local_variables,             jbyte)                                 \
+  nonstatic_field(JVMCICompileState,           _jvmti_can_post_on_exceptions,                 jbyte)                                 \
+  nonstatic_field(JVMCICompileState,           _jvmti_can_pop_frame,                          jbyte)                                 \
+                                                                                                                                     \
   nonstatic_field(JavaThread,                  _threadObj,                                    oop)                                   \
   nonstatic_field(JavaThread,                  _anchor,                                       JavaFrameAnchor)                       \
   nonstatic_field(JavaThread,                  _vm_result,                                    oop)                                   \