< prev index next >

src/share/vm/interpreter/abstractInterpreter.hpp

Print this page




  73     empty,                                                      // empty method (code: _return)
  74     accessor,                                                   // accessor method (code: _aload_0, _getfield, _(a|i)return)
  75     abstract,                                                   // abstract method (throws an AbstractMethodException)
  76     method_handle_invoke_FIRST,                                 // java.lang.invoke.MethodHandles::invokeExact, etc.
  77     method_handle_invoke_LAST                                   = (method_handle_invoke_FIRST
  78                                                                    + (vmIntrinsics::LAST_MH_SIG_POLY
  79                                                                       - vmIntrinsics::FIRST_MH_SIG_POLY)),
  80     java_lang_math_sin,                                         // implementation of java.lang.Math.sin   (x)
  81     java_lang_math_cos,                                         // implementation of java.lang.Math.cos   (x)
  82     java_lang_math_tan,                                         // implementation of java.lang.Math.tan   (x)
  83     java_lang_math_abs,                                         // implementation of java.lang.Math.abs   (x)
  84     java_lang_math_sqrt,                                        // implementation of java.lang.Math.sqrt  (x)
  85     java_lang_math_log,                                         // implementation of java.lang.Math.log   (x)
  86     java_lang_math_log10,                                       // implementation of java.lang.Math.log10 (x)
  87     java_lang_math_pow,                                         // implementation of java.lang.Math.pow   (x,y)
  88     java_lang_math_exp,                                         // implementation of java.lang.Math.exp   (x)
  89     java_lang_ref_reference_get,                                // implementation of java.lang.ref.Reference.get()
  90     java_util_zip_CRC32_update,                                 // implementation of java.util.zip.CRC32.update()
  91     java_util_zip_CRC32_updateBytes,                            // implementation of java.util.zip.CRC32.updateBytes()
  92     java_util_zip_CRC32_updateByteBuffer,                       // implementation of java.util.zip.CRC32.updateByteBuffer()


  93     java_lang_Float_intBitsToFloat,                             // implementation of java.lang.Float.intBitsToFloat()
  94     java_lang_Float_floatToRawIntBits,                          // implementation of java.lang.Float.floatToRawIntBits()
  95     java_lang_Double_longBitsToDouble,                          // implementation of java.lang.Double.longBitsToDouble()
  96     java_lang_Double_doubleToRawLongBits,                       // implementation of java.lang.Double.doubleToRawLongBits()
  97     number_of_method_entries,
  98     invalid = -1
  99   };
 100 
 101   // Conversion from the part of the above enum to vmIntrinsics::_invokeExact, etc.
 102   static vmIntrinsics::ID method_handle_intrinsic(MethodKind kind) {
 103     if (kind >= method_handle_invoke_FIRST && kind <= method_handle_invoke_LAST)
 104       return (vmIntrinsics::ID)( vmIntrinsics::FIRST_MH_SIG_POLY + (kind - method_handle_invoke_FIRST) );
 105     else
 106       return vmIntrinsics::_none;
 107   }
 108 
 109   enum SomeConstants {
 110     number_of_result_handlers = 10                              // number of result handlers for native calls
 111   };
 112 




  73     empty,                                                      // empty method (code: _return)
  74     accessor,                                                   // accessor method (code: _aload_0, _getfield, _(a|i)return)
  75     abstract,                                                   // abstract method (throws an AbstractMethodException)
  76     method_handle_invoke_FIRST,                                 // java.lang.invoke.MethodHandles::invokeExact, etc.
  77     method_handle_invoke_LAST                                   = (method_handle_invoke_FIRST
  78                                                                    + (vmIntrinsics::LAST_MH_SIG_POLY
  79                                                                       - vmIntrinsics::FIRST_MH_SIG_POLY)),
  80     java_lang_math_sin,                                         // implementation of java.lang.Math.sin   (x)
  81     java_lang_math_cos,                                         // implementation of java.lang.Math.cos   (x)
  82     java_lang_math_tan,                                         // implementation of java.lang.Math.tan   (x)
  83     java_lang_math_abs,                                         // implementation of java.lang.Math.abs   (x)
  84     java_lang_math_sqrt,                                        // implementation of java.lang.Math.sqrt  (x)
  85     java_lang_math_log,                                         // implementation of java.lang.Math.log   (x)
  86     java_lang_math_log10,                                       // implementation of java.lang.Math.log10 (x)
  87     java_lang_math_pow,                                         // implementation of java.lang.Math.pow   (x,y)
  88     java_lang_math_exp,                                         // implementation of java.lang.Math.exp   (x)
  89     java_lang_ref_reference_get,                                // implementation of java.lang.ref.Reference.get()
  90     java_util_zip_CRC32_update,                                 // implementation of java.util.zip.CRC32.update()
  91     java_util_zip_CRC32_updateBytes,                            // implementation of java.util.zip.CRC32.updateBytes()
  92     java_util_zip_CRC32_updateByteBuffer,                       // implementation of java.util.zip.CRC32.updateByteBuffer()
  93     java_util_zip_CRC32C_updateBytes,                           // implementation of java.util.zip.CRC32C.updateBytes(crc, b[], off, end)
  94     java_util_zip_CRC32C_updateDirectByteBuffer,                // implementation of java.util.zip.CRC32C.updateDirectByteBuffer(crc, address, off, end)
  95     java_lang_Float_intBitsToFloat,                             // implementation of java.lang.Float.intBitsToFloat()
  96     java_lang_Float_floatToRawIntBits,                          // implementation of java.lang.Float.floatToRawIntBits()
  97     java_lang_Double_longBitsToDouble,                          // implementation of java.lang.Double.longBitsToDouble()
  98     java_lang_Double_doubleToRawLongBits,                       // implementation of java.lang.Double.doubleToRawLongBits()
  99     number_of_method_entries,
 100     invalid = -1
 101   };
 102 
 103   // Conversion from the part of the above enum to vmIntrinsics::_invokeExact, etc.
 104   static vmIntrinsics::ID method_handle_intrinsic(MethodKind kind) {
 105     if (kind >= method_handle_invoke_FIRST && kind <= method_handle_invoke_LAST)
 106       return (vmIntrinsics::ID)( vmIntrinsics::FIRST_MH_SIG_POLY + (kind - method_handle_invoke_FIRST) );
 107     else
 108       return vmIntrinsics::_none;
 109   }
 110 
 111   enum SomeConstants {
 112     number_of_result_handlers = 10                              // number of result handlers for native calls
 113   };
 114 


< prev index next >