hotspot/src/share/vm/runtime/sharedRuntime.hpp
changeset 25069 c937c5e883c5
parent 24462 0676642e6560
child 25472 381638db28e6
equal deleted inserted replaced
25068:de4b1c96dca3 25069:c937c5e883c5
   215 #ifdef COMPILER2
   215 #ifdef COMPILER2
   216   static void generate_uncommon_trap_blob(void);
   216   static void generate_uncommon_trap_blob(void);
   217   static UncommonTrapBlob* uncommon_trap_blob()                  { return _uncommon_trap_blob; }
   217   static UncommonTrapBlob* uncommon_trap_blob()                  { return _uncommon_trap_blob; }
   218 #endif // COMPILER2
   218 #endif // COMPILER2
   219 
   219 
   220   static address get_resolve_opt_virtual_call_stub(){
   220   static address get_resolve_opt_virtual_call_stub() {
   221     assert(_resolve_opt_virtual_call_blob != NULL, "oops");
   221     assert(_resolve_opt_virtual_call_blob != NULL, "oops");
   222     return _resolve_opt_virtual_call_blob->entry_point();
   222     return _resolve_opt_virtual_call_blob->entry_point();
   223   }
   223   }
   224   static address get_resolve_virtual_call_stub() {
   224   static address get_resolve_virtual_call_stub() {
   225     assert(_resolve_virtual_call_blob != NULL, "oops");
   225     assert(_resolve_virtual_call_blob != NULL, "oops");
   251   static address native_method_throw_unsupported_operation_exception_entry();
   251   static address native_method_throw_unsupported_operation_exception_entry();
   252 
   252 
   253   // bytecode tracing is only used by the TraceBytecodes
   253   // bytecode tracing is only used by the TraceBytecodes
   254   static intptr_t trace_bytecode(JavaThread* thread, intptr_t preserve_this_value, intptr_t tos, intptr_t tos2) PRODUCT_RETURN0;
   254   static intptr_t trace_bytecode(JavaThread* thread, intptr_t preserve_this_value, intptr_t tos, intptr_t tos2) PRODUCT_RETURN0;
   255 
   255 
   256   static oop retrieve_receiver( Symbol* sig, frame caller );
   256   static oop retrieve_receiver(Symbol* sig, frame caller);
   257 
   257 
   258   static void register_finalizer(JavaThread* thread, oopDesc* obj);
   258   static void register_finalizer(JavaThread* thread, oopDesc* obj);
   259 
   259 
   260   // dtrace notifications
   260   // dtrace notifications
   261   static int dtrace_object_alloc(oopDesc* o, int size);
   261   static int dtrace_object_alloc(oopDesc* o, int size);
   444   // Is vector's size (in bytes) bigger than a size saved by default?
   444   // Is vector's size (in bytes) bigger than a size saved by default?
   445   // For example, on x86 16 bytes XMM registers are saved by default.
   445   // For example, on x86 16 bytes XMM registers are saved by default.
   446   static bool is_wide_vector(int size);
   446   static bool is_wide_vector(int size);
   447 
   447 
   448   // Save and restore a native result
   448   // Save and restore a native result
   449   static void    save_native_result(MacroAssembler *_masm, BasicType ret_type, int frame_slots );
   449   static void    save_native_result(MacroAssembler *_masm, BasicType ret_type, int frame_slots);
   450   static void restore_native_result(MacroAssembler *_masm, BasicType ret_type, int frame_slots );
   450   static void restore_native_result(MacroAssembler *_masm, BasicType ret_type, int frame_slots);
   451 
   451 
   452   // Generate a native wrapper for a given method.  The method takes arguments
   452   // Generate a native wrapper for a given method.  The method takes arguments
   453   // in the Java compiled code convention, marshals them to the native
   453   // in the Java compiled code convention, marshals them to the native
   454   // convention (handlizes oops, etc), transitions to native, makes the call,
   454   // convention (handlizes oops, etc), transitions to native, makes the call,
   455   // returns to java state (possibly blocking), unhandlizes any result and
   455   // returns to java state (possibly blocking), unhandlizes any result and
   461   static nmethod* generate_native_wrapper(MacroAssembler* masm,
   461   static nmethod* generate_native_wrapper(MacroAssembler* masm,
   462                                           methodHandle method,
   462                                           methodHandle method,
   463                                           int compile_id,
   463                                           int compile_id,
   464                                           BasicType* sig_bt,
   464                                           BasicType* sig_bt,
   465                                           VMRegPair* regs,
   465                                           VMRegPair* regs,
   466                                           BasicType ret_type );
   466                                           BasicType ret_type);
   467 
   467 
   468   // Block before entering a JNI critical method
   468   // Block before entering a JNI critical method
   469   static void block_for_jni_critical(JavaThread* thread);
   469   static void block_for_jni_critical(JavaThread* thread);
   470 
   470 
   471 #ifdef HAVE_DTRACE_H
   471 #ifdef HAVE_DTRACE_H