hotspot/src/share/vm/code/nmethod.hpp
changeset 35092 82170e5767c3
parent 35086 bbf32241d851
child 35108 ccb4e1f2a6cf
equal deleted inserted replaced
35091:e9d05f193287 35092:82170e5767c3
   605   void set_method(Method* method) { _method = method; }
   605   void set_method(Method* method) { _method = method; }
   606 
   606 
   607 #if INCLUDE_JVMCI
   607 #if INCLUDE_JVMCI
   608   oop jvmci_installed_code() { return _jvmci_installed_code ; }
   608   oop jvmci_installed_code() { return _jvmci_installed_code ; }
   609   char* jvmci_installed_code_name(char* buf, size_t buflen);
   609   char* jvmci_installed_code_name(char* buf, size_t buflen);
       
   610 
       
   611   // Update the state of any InstalledCode instance associated with
       
   612   // this nmethod based on the current value of _state.
       
   613   void maybe_invalidate_installed_code();
       
   614 
       
   615   // Helper function to invalidate InstalledCode instances
       
   616   static void invalidate_installed_code(Handle installed_code, TRAPS);
       
   617 
       
   618   oop speculation_log() { return _speculation_log ; }
       
   619 
       
   620  private:
   610   void clear_jvmci_installed_code();
   621   void clear_jvmci_installed_code();
   611   void maybe_invalidate_installed_code();
   622 
   612   oop speculation_log() { return _speculation_log ; }
   623  public:
   613   void set_speculation_log(oop speculation_log) { _speculation_log = speculation_log;  }
       
   614 #endif
   624 #endif
   615 
   625 
   616   // GC support
   626   // GC support
   617   void do_unloading(BoolObjectClosure* is_alive, bool unloading_occurred);
   627   void do_unloading(BoolObjectClosure* is_alive, bool unloading_occurred);
   618   //  The parallel versions are used by G1.
   628   //  The parallel versions are used by G1.