United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6940520 CodeCache::scavenge_root_nmethods_do must fix oop relocations
JDK-6940520 : CodeCache::scavenge_root_nmethods_do must fix oop relocations

Details
Type:
Bug
Submit Date:
2010-04-02
Status:
Resolved
Updated Date:
2010-09-24
Project Name:
JDK
Resolved Date:
2010-04-21
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs18
Fixed Versions:
hs18 (b03)

Related Reports
Backport:
Backport:
Backport:
Backport:
Relates:

Sub Tasks

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

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

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

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



Hardware and Software, Engineered to Work Together