Code Review for 6940520

Prepared by:twisti on Fri Apr 2 14:33:23 CEST 2010
Workspace:/export/home/twisti/hotspot-comp/6940520
Compare against: /export/home/twisti/hotspot-comp/hotspot
Summary of changes: 4 lines changed: 2 ins; 0 del; 2 mod; 879 unchg
Patch of changes: 6940520.patch
Printable review: 6940520.pdf
Author comments:
6940520: CodeCache::scavenge_root_nmethods_do must fix oop relocations
Summary: ScavengeRootsInCode can lead to unfixed code-embedded oops.
Reviewed-by:

During testing of JSR 292's SPARC C2 port I found a couple of crashes
which came from unfixed code-embedded oops.

This can be triggered with ScavengeRootsInCode={1,2}.

The fix is to call fix_oop_relocations in
CodeCache::scavenge_root_nmethods_do after oops may have been updated.

Bug id: Bug Database
Legend: Modified file
Deleted file
New file

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw src/share/vm/code/codeCache.cpp

4 lines changed: 2 ins; 0 del; 2 mod; 879 unchg

This code review page was prepared using /export/home/twisti/bin/webrev (vers 23.18-hg-never).