United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-5070545 : Regression:4683022 fails for 1.4.2_06-b01.

Details
Type:
Bug
Submit Date:
2004-07-01
Status:
Resolved
Updated Date:
2004-08-17
Project Name:
JDK
Resolved Date:
2004-08-17
Component:
hotspot
OS:
solaris_9
Sub-Component:
gc
CPU:
sparc
Priority:
P1
Resolution:
Fixed
Affected Versions:
1.4.2_06
Fixed Versions:
1.4.2_06 (06)

Related Reports

Sub Tasks

Description
Bug 4683022 is failed for 1.4.2_06-b01 on Solaris sparc multi processor machines. This testcase is passed for 1.4.2_05-b04 and is a regression.

To reproduce:
------------

Install j2sdk1.4.2_05-b01 on a Solaris sparc multi processor and run the following testcase from regression workspace

/net/shiva.sfbay/test/MyTestArea/JDK1.4.2/workspace_142/test/CTE_REGTEST/Generic/4683022

VM crashes with core dump and testcase fails with the following error.

# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/concurrentMarkSweepGeneration.cpp:1451
#
# HotSpot Virtual Machine Error, assertion failure
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Server VM (1.4.2_06-ea-b01-debug mixed mode)
#
# assert(!_c->_foregroundGCShouldWait, "Usage protocol violation?")
#
# Error ID: /export1/jdk142-update/ws/ea/hotspot/src/share/vm/memory/concurrentMarkSweepGeneration.cpp, 1451 [ Patched ]
#
# Problematic Thread: prio=9 tid=0x00177640 nid=0x4 runnable 
#

Heap at VM Abort:
Heap
 par new generation   total 4032K, used 16K [0xf0c00000, 0xf1000000, 0xf1000000)
  eden space 3968K,   0% used [0xf0c00000, 0xf0c04020, 0xf0fe0000)
  from space 64K,   0% used [0xf0fe0000, 0xf0fe0000, 0xf0ff0000)
  to   space 64K,   0% used [0xf0ff0000, 0xf0ff0000, 0xf1000000)
 concurrent mark-sweep generation total 12288K, used 10574K [0xf1000000, 0xf1c00000, 0xf4c00000)
 concurrent-mark-sweep perm gen total 16384K, used 1048K [0xf4c00000, 0xf5c00000, 0xf8c00000)
Dumping core....

=============================
Logfiles are attached to the bugtraq.

jtest-s13% psrinfo -v
Status of virtual processor 0 as of: 07/01/2004 21:02:42
  on-line since 06/22/2004 11:04:06.
  The sparcv9 processor operates at 360 MHz,
        and has a sparcv9 floating point processor.
Status of virtual processor 2 as of: 07/01/2004 21:02:42
  on-line since 06/22/2004 11:04:07.
  The sparcv9 processor operates at 360 MHz,
        and has a sparcv9 floating point processor.

jtest-s13% /export/temp/j2sdk1.4.2_06/bin/java -version
java version "1.4.2_06-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-ea-b01)
Java HotSpot(TM) Client VM (build 1.4.2_06-ea-b01, mixed mode)

jtest-s13$ uname -a
SunOS jtest-s13 5.9 Generic_112233-10 sun4u sparc SUNW,Ultra-60

                                    

Comments
SUGGESTED FIX

See suggested fix section. Please make sure you completely port
the changes to stop_world_and_do() present in the orginal set
of diffs associated with 4962516.
                                     
2004-08-18
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
1.4.2_06
generic

FIXED IN:
1.4.2_06

INTEGRATED IN:
1.4.2_06


                                     
2004-08-18
EVALUATION

See comments section.
                                     
2004-08-18



Hardware and Software, Engineered to Work Together