Mercurial > hg > truffle
comparison src/share/vm/code/nmethod.cpp @ 2376:c7f3d0b4570f
7017732: move static fields into Class to prepare for perm gen removal
Reviewed-by: kvn, coleenp, twisti, stefank
author | never |
---|---|
date | Fri, 18 Mar 2011 16:00:34 -0700 |
parents | d673ef06fe96 |
children | 3d58a4983660 |
comparison
equal
deleted
inserted
replaced
2375:d673ef06fe96 | 2376:c7f3d0b4570f |
---|---|
651 _osr_entry_point = NULL; | 651 _osr_entry_point = NULL; |
652 _exception_cache = NULL; | 652 _exception_cache = NULL; |
653 _pc_desc_cache.reset_to(NULL); | 653 _pc_desc_cache.reset_to(NULL); |
654 | 654 |
655 code_buffer->copy_oops_to(this); | 655 code_buffer->copy_oops_to(this); |
656 if (ScavengeRootsInCode && detect_scavenge_root_oops()) { | |
657 CodeCache::add_scavenge_root_nmethod(this); | |
658 } | |
656 debug_only(verify_scavenge_root_oops()); | 659 debug_only(verify_scavenge_root_oops()); |
657 CodeCache::commit(this); | 660 CodeCache::commit(this); |
658 } | 661 } |
659 | 662 |
660 if (PrintNativeNMethods || PrintDebugInfo || PrintRelocations || PrintDependencies) { | 663 if (PrintNativeNMethods || PrintDebugInfo || PrintRelocations || PrintDependencies) { |