< prev index next >

src/hotspot/share/interpreter/abstractInterpreter.hpp

Print this page

        

@@ -78,10 +78,17 @@
     java_lang_math_pow,                                         // implementation of java.lang.Math.pow   (x,y)
     java_lang_math_exp,                                         // implementation of java.lang.Math.exp   (x)
     java_lang_math_fmaF,                                        // implementation of java.lang.Math.fma   (x, y, z)
     java_lang_math_fmaD,                                        // implementation of java.lang.Math.fma   (x, y, z)
     java_lang_ref_reference_get,                                // implementation of java.lang.ref.Reference.get()
+    java_lang_continuation_getSP,                               // implementation of java.lang.Continuation.getSP()
+    java_lang_continuation_getFP,                               // implementation of java.lang.Continuation.getFP()
+    java_lang_continuation_getPC,                               // implementation of java.lang.Continuation.getPC()
+    java_lang_continuation_doContinue,                          // implementation of java.lang.Continuation.doContinue()
+    java_lang_continuation_doYield,                             // implementation of java.lang.Continuation.doYield()
+    java_lang_continuation_jump,                                // implementation of java.lang.Continuation.jump()
+    java_lang_continuation_runLevel,                            // implementation of java.lang.Continuation.runLevel()
     java_util_zip_CRC32_update,                                 // implementation of java.util.zip.CRC32.update()
     java_util_zip_CRC32_updateBytes,                            // implementation of java.util.zip.CRC32.updateBytes()
     java_util_zip_CRC32_updateByteBuffer,                       // implementation of java.util.zip.CRC32.updateByteBuffer()
     java_util_zip_CRC32C_updateBytes,                           // implementation of java.util.zip.CRC32C.updateBytes(crc, b[], off, end)
     java_util_zip_CRC32C_updateDirectByteBuffer,                // implementation of java.util.zip.CRC32C.updateDirectByteBuffer(crc, address, off, end)

@@ -153,22 +160,30 @@
 
   // These should never be compiled since the interpreter will prefer
   // the compiled version to the intrinsic version.
   static bool       can_be_compiled(const methodHandle& m) {
     switch (m->intrinsic_id()) {
-      case vmIntrinsics::_dsin  : // fall thru
-      case vmIntrinsics::_dcos  : // fall thru
-      case vmIntrinsics::_dtan  : // fall thru
-      case vmIntrinsics::_dabs  : // fall thru
-      case vmIntrinsics::_dsqrt : // fall thru
-      case vmIntrinsics::_dlog  : // fall thru
-      case vmIntrinsics::_dlog10: // fall thru
-      case vmIntrinsics::_dpow  : // fall thru
-      case vmIntrinsics::_dexp  : // fall thru
-      case vmIntrinsics::_fmaD  : // fall thru
-      case vmIntrinsics::_fmaF  : // fall thru
+      // math intrinsics
+      case vmIntrinsics::_dsin  :
+      case vmIntrinsics::_dcos  :
+      case vmIntrinsics::_dtan  :
+      case vmIntrinsics::_dabs  :
+      case vmIntrinsics::_dsqrt :
+      case vmIntrinsics::_dlog  :
+      case vmIntrinsics::_dlog10:
+      case vmIntrinsics::_dpow  :
+      case vmIntrinsics::_dexp  :
+      case vmIntrinsics::_fmaD  :
+      case vmIntrinsics::_fmaF  :
+
+      // continuation intrinsics
+      case vmIntrinsics::_Continuation_getSP      :
+      case vmIntrinsics::_Continuation_doYield    :
+      case vmIntrinsics::_Continuation_doContinue :
+
         return false;
+
       default:
         return true;
     }
   }
 
< prev index next >