< prev index next >

src/hotspot/share/interpreter/abstractInterpreter.hpp

Print this page
@@ -79,10 +79,11 @@
      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_doYield,                             // implementation of jdk.internal.vm.Continuation.doYield()
      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)

@@ -142,22 +143,28 @@
  
    // 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_doYield    :
+ 
          return false;
+ 
        default:
          return true;
      }
    }
  
< prev index next >