JDK-6940520 : CodeCache::scavenge_root_nmethods_do must fix oop relocations
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs18
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-04-02
  • Updated: 2010-09-24
  • Resolved: 2010-04-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u21pFixed 7Fixed hs18Fixed
Related Reports
Relates :  
Description
During testing of JSR 292's SPARC C2 port I found a couple of crashes which came from unfixed code-embedded oops.

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/ed4f78aa9282
06-04-2010

SUGGESTED FIX Call fix_oop_relocations in CodeCache::scavenge_root_nmethods_do after oops may have been updated.
02-04-2010

EVALUATION This can be triggered with ScavengeRootsInCode={1,2}.
02-04-2010