United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7121373 Clean up CollectedHeap::is_in
JDK-7121373 : Clean up CollectedHeap::is_in

Details
Type:
Bug
Submit Date:
2011-12-14
Status:
Closed
Updated Date:
2012-03-29
Project Name:
JDK
Resolved Date:
2012-03-29
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs23
Fixed Versions:
hs23 (b09)

Related Reports
Backport:
Backport:

Sub Tasks

Description
G1CollectedHeap::is_in asserts if a pointer below the heap is passed in as a parameter, which is not what's expected from a function implementing CollectedHeap::is_in.

The comments in CollectedHeap::is_in also states that state that is_in should return true if the passed in pointer points to the head of an object. None of the implementations check against the head of objects, so that requirement will be removed.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/3c648b9ad052
                                     
2011-12-15
EVALUATION

http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/3c648b9ad052
                                     
2012-03-22



Hardware and Software, Engineered to Work Together