United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6533850 Regression in the gc_baseline caused by || RefProc (assertion "FreeList RACE DETECTED")
6533850 : Regression in the gc_baseline caused by || RefProc (assertion "FreeList RACE DETECTED")

Details
Type:
Bug
Submit Date:
2007-03-13
Status:
Resolved
Updated Date:
2012-02-01
Project Name:
JDK
Resolved Date:
2007-04-24
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
hs10

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
Test case:

java/lang/management/MemoryMXBean/MemoryManagementConcMarkSweepGC.sh

The regression is due to optimization I did for ParNew: I moved
thread state flushing into a separate method and made it serial (without locking). But when LowMemoryDetector is enabled a "thread-sensitive" code could be executed (like Mutex::owned_by_self()).

                                    

Comments
EVALUATION

The fix temporary disables LowMemoryDetector for SharedHeap::fill_region_with_object.
                                     
2007-03-20
SUGGESTED FIX

The fix is to execute flushing in it's own thread.
                                     
2007-03-13



Hardware and Software, Engineered to Work Together