JDK-5070545 : Regression:4683022 fails for 1.4.2_06-b01.
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 1.4.2_06
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_9
  • CPU: sparc
  • Submitted: 2004-07-01
  • Updated: 2004-08-17
  • Resolved: 2004-08-17
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.
1.4.2_06 06Fixed
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


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:
 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

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

EVALUATION See comments section.

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.