src/hotspot/share/code/nmethod.hpp
changeset 52781 436097b038a1
parent 52659 8b26bd8b1832
child 53149 259c36ef27df
child 53282 cb7fff9105a8
equal deleted inserted replaced
52780:be588be89f68 52781:436097b038a1
   255                               , jweak installed_code = NULL,
   255                               , jweak installed_code = NULL,
   256                               jweak speculation_log = NULL
   256                               jweak speculation_log = NULL
   257 #endif
   257 #endif
   258   );
   258   );
   259 
   259 
       
   260   // Only used for unit tests.
       
   261   nmethod()
       
   262     : CompiledMethod(),
       
   263       _is_unloading_state(0),
       
   264       _native_receiver_sp_offset(in_ByteSize(-1)),
       
   265       _native_basic_lock_sp_offset(in_ByteSize(-1)) {}
       
   266 
       
   267 
   260   static nmethod* new_native_nmethod(const methodHandle& method,
   268   static nmethod* new_native_nmethod(const methodHandle& method,
   261                                      int compile_id,
   269                                      int compile_id,
   262                                      CodeBuffer *code_buffer,
   270                                      CodeBuffer *code_buffer,
   263                                      int vep_offset,
   271                                      int vep_offset,
   264                                      int frame_complete,
   272                                      int frame_complete,