hotspot/src/share/vm/jvmci/jvmciCompilerToVM.hpp
changeset 46338 e84b501fa52e
parent 46329 53ccc37bda19
parent 44092 bc842cc2356b
equal deleted inserted replaced
46337:307e52ec20cd 46338:e84b501fa52e
   204   inline void do_object(int begin, int end) { if (!is_return_type()) _jca->push_oop(next_arg(T_OBJECT)); }
   204   inline void do_object(int begin, int end) { if (!is_return_type()) _jca->push_oop(next_arg(T_OBJECT)); }
   205   inline void do_array(int begin, int end)  { if (!is_return_type()) _jca->push_oop(next_arg(T_OBJECT)); }
   205   inline void do_array(int begin, int end)  { if (!is_return_type()) _jca->push_oop(next_arg(T_OBJECT)); }
   206   inline void do_void()                     { }
   206   inline void do_void()                     { }
   207 };
   207 };
   208 
   208 
       
   209 class JNIHandleMark : public StackObj {
       
   210   public:
       
   211     JNIHandleMark() { push_jni_handle_block(); }
       
   212     ~JNIHandleMark() { pop_jni_handle_block(); }
       
   213 
       
   214   private:
       
   215     static void push_jni_handle_block();
       
   216     static void pop_jni_handle_block();
       
   217 };
       
   218 
   209 #endif // SHARE_VM_JVMCI_JVMCI_COMPILER_TO_VM_HPP
   219 #endif // SHARE_VM_JVMCI_JVMCI_COMPILER_TO_VM_HPP