src/share/vm/code/nmethod.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/code/nmethod.cpp	Tue Mar  8 20:17:56 2011
--- new/src/share/vm/code/nmethod.cpp	Tue Mar  8 20:17:56 2011

*** 648,657 **** --- 648,660 ---- _osr_entry_point = NULL; _exception_cache = NULL; _pc_desc_cache.reset_to(NULL); code_buffer->copy_oops_to(this); + if (ScavengeRootsInCode && detect_scavenge_root_oops()) { + CodeCache::add_scavenge_root_nmethod(this); + } debug_only(verify_scavenge_root_oops()); CodeCache::commit(this); } if (PrintNativeNMethods || PrintDebugInfo || PrintRelocations || PrintDependencies) {

src/share/vm/code/nmethod.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File