< prev index next >

src/hotspot/share/interpreter/abstractInterpreter.cpp

Print this page

        

@@ -186,10 +186,24 @@
     case vmIntrinsics::_fmaD  : return java_lang_math_fmaD ;
     case vmIntrinsics::_fmaF  : return java_lang_math_fmaF ;
 
     case vmIntrinsics::_Reference_get
                               : return java_lang_ref_reference_get;
+    case vmIntrinsics::_Continuation_getSP
+                              : return java_lang_continuation_getSP;
+    case vmIntrinsics::_Continuation_getFP
+                              : return java_lang_continuation_getFP;
+    case vmIntrinsics::_Continuation_getPC
+                              : return java_lang_continuation_getPC;
+    case vmIntrinsics::_Continuation_doContinue
+                              : return java_lang_continuation_doContinue;
+    case vmIntrinsics::_Continuation_doYield
+                              : return java_lang_continuation_doYield;
+    case vmIntrinsics::_Continuation_jump
+                              : return java_lang_continuation_jump;
+    case vmIntrinsics::_Continuation_runLevel
+                              : return java_lang_continuation_runLevel;
     default                   : break;
   }
 
   // Accessor method?
   if (m->is_getter()) {

@@ -198,10 +212,18 @@
     // then the call above updated to ::is_accessor
     assert(m->size_of_parameters() == 1, "fast code for accessors assumes parameter size = 1");
     return accessor;
   }
 
+  // Symbol* kname = m->klass_name();
+  // Symbol* name = m->name();
+  // if (kname == vmSymbols::java_lang_Continuation()) {
+  //   if (name == vmSymbols::enter_name()) {
+  //     return java_lang_continuation_enter;
+  //   }
+  // }
+
   // Note: for now: zero locals for all non-empty methods
   return zerolocals;
 }
 
 #if INCLUDE_CDS
< prev index next >