hotspot/src/share/vm/code/nmethod.cpp
changeset 33759 8a0e9139a9c5
parent 33611 9abd65805e19
child 33807 9f8b0f8a3f29
equal deleted inserted replaced
33758:aa54610a0b93 33759:8a0e9139a9c5
   678     nm->log_new_nmethod();
   678     nm->log_new_nmethod();
   679   }
   679   }
   680   return nm;
   680   return nm;
   681 }
   681 }
   682 
   682 
   683 #ifdef _MSC_VER
       
   684 #pragma warning(push)
       
   685 #pragma warning(disable:4355) //  warning C4355: 'this' : used in base member initializer list
       
   686 #endif
       
   687 // For native wrappers
   683 // For native wrappers
   688 nmethod::nmethod(
   684 nmethod::nmethod(
   689   Method* method,
   685   Method* method,
   690   int nmethod_size,
   686   int nmethod_size,
   691   int compile_id,
   687   int compile_id,
   770     if (xtty != NULL) {
   766     if (xtty != NULL) {
   771       xtty->tail("print_native_nmethod");
   767       xtty->tail("print_native_nmethod");
   772     }
   768     }
   773   }
   769   }
   774 }
   770 }
   775 
       
   776 #ifdef _MSC_VER
       
   777 #pragma warning(pop)
       
   778 #endif
       
   779 
   771 
   780 void* nmethod::operator new(size_t size, int nmethod_size, int comp_level) throw () {
   772 void* nmethod::operator new(size_t size, int nmethod_size, int comp_level) throw () {
   781   return CodeCache::allocate(nmethod_size, CodeCache::get_code_blob_type(comp_level));
   773   return CodeCache::allocate(nmethod_size, CodeCache::get_code_blob_type(comp_level));
   782 }
   774 }
   783 
   775