-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
None
-
hs11
-
x86
-
windows_vista
nsk/stress/jck12a/jck12a012
fails on WINDOWS-VISTA with java.lang.OutOfMemoryError: Java heap space
Also causes VM crash.
# Actual: S:/jdk/vm/6u10/promoted/b14/windows-i586/bin/java -server -Xbatch -DHANGINGJAVA24736 -XX:CompileThreshold=2 -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled nsk.stress.jck12a.jck12a012.jck12a012 -stress:indulgent
[2008-03-25T19:20:25.41] Exception during disposal:
[2008-03-25T19:23:10.91] java.lang.reflect.InvocationTargetException
[2008-03-25T19:23:10.91] at java.awt.EventQueue.invokeAndWait(EventQueue.java:997)
[2008-03-25T19:23:10.91] at java.awt.Window.doDispose(Window.java:1008)
[2008-03-25T19:23:10.91] at java.awt.Window.dispose(Window.java:951)
[2008-03-25T19:23:10.91] at javasoft.sqe.tests.api.java.awt.Component.isVisibleTests.Component2010(isVisibleTests.java:87)
[2008-03-25T19:23:10.91] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2008-03-25T19:23:10.91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[2008-03-25T19:23:10.91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[2008-03-25T19:23:10.91] at java.lang.reflect.Method.invoke(Method.java:597)
[2008-03-25T19:23:10.91] at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:137)
[2008-03-25T19:23:10.91] at javasoft.sqe.stresstest.StressTest$TestThread.run(StressTest.java:864)
[2008-03-25T19:23:10.91] Caused by: java.lang.OutOfMemoryError: Java heap space
[2008-03-25T19:23:10.91] Exception in thread "Thread-89" java.lang.OutOfMemoryError: Java heap space
[2008-03-25T19:23:10.91] Exception during disposal:
[2008-03-25T19:23:10.91] java.lang.reflect.InvocationTargetException
[2008-03-25T19:23:10.91] at java.awt.EventQueue.invokeAndWait(EventQueue.java:997)
[2008-03-25T19:23:10.91] at java.awt.Window.doDispose(Window.java:1008)
[2008-03-25T19:24:35.61] at java.awt.Window.dispose(Window.java:951)
[2008-03-25T19:24:35.61] at javasoft.sqe.tests.api.java.awt.Component.isEnabledTests.Component2009(isEnabledTests.java:87)
[2008-03-25T19:24:35.61] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2008-03-25T19:24:35.61] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[2008-03-25T19:24:35.61] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[2008-03-25T19:24:35.61] at java.lang.reflect.Method.invoke(Method.java:597)
[2008-03-25T19:24:35.61] at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:137)
[2008-03-25T19:24:35.61] at javasoft.sqe.stresstest.StressTest$TestThread.run(StressTest.java:864)
[2008-03-25T19:24:35.61] Caused by: java.lang.OutOfMemoryError: Java heap space
[2008-03-25T19:24:35.61] Exception in thread "Thread-86" java.lang.OutOfMemoryError: Java heap space
[2008-03-25T19:24:35.61] Exception in thread "Thread-96" java.lang.OutOfMemoryError: Java heap space
[2008-03-25T19:24:35.61] Exception in thread "Thread-97" java.lang.OutOfMemoryError: Java heap space
[2008-03-25T19:24:35.61] Exception in thread "Thread-500" java.lang.OutOfMemoryError: Java heap space
[2008-03-25T19:24:35.61] Exception in thread "Thread-139" java.lang.OutOfMemoryError: Java heap space
[2008-03-25T19:29:17.30] Exception in thread "Thread-110" Exception in thread "Thread-128" java.lang.OutOfMemoryError: Java heap space
Also causes VM crash.
#
# An unexpected error has been detected by Java Runtime Environment:
#
# Internal Error (safepoint.cpp:558), pid=18204, tid=17056
# Error: Deadlock in safepoint code. Should have called back to the VM before blocking.
#
# Java VM: Java HotSpot(TM) Server VM (11.0-b11 mixed mode windows-x86)
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x1302d000): JavaThread "Thread-384" [_thread_in_native_trans, id=17056, stack(0x15a90000,0x15ae0000)]
Stack: [0x15a90000,0x15ae0000]
[error occurred during error reporting (printing stack bounds), id 0x80000001]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.awt.Win32GraphicsDevice.makeColorModel(IZ)Ljava/awt/image/ColorModel;+0
j sun.awt.Win32GraphicsDevice.getColorModel()Ljava/awt/image/ColorModel;+14
j sun.awt.Win32GraphicsConfig.getColorModel()Ljava/awt/image/ColorModel;+4
j javasoft.sqe.tests.api.java.awt.java2d.awt.GraphicsConfiguration.GetColorModelTest.testCase1()Ljavasoft/sqe/harness/Status;+38
v ~StubRoutines::call_stub
J sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
J sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
J sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
J java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
j javasoft.sqe.jck.lib.MultiTest.run([Ljava/lang/String;Ljava/io/PrintStream;Ljava/io/PrintStream;)Ljavasoft/sqe/harness/Status;+147
j javasoft.sqe.stresstest.StressTest$TestThread.run()V+240
v ~StubRoutines::call_stub
This can be reproduced on 6u10 b13 and b14 (bundled with hs11-b11).
Haven't tried hotspot10 (6u4) or hs12 (JDK 7)
It seems that removing -XX:+UseConcMarkSweepGC
solves the problem.
fails on WINDOWS-VISTA with java.lang.OutOfMemoryError: Java heap space
Also causes VM crash.
# Actual: S:/jdk/vm/6u10/promoted/b14/windows-i586/bin/java -server -Xbatch -DHANGINGJAVA24736 -XX:CompileThreshold=2 -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled nsk.stress.jck12a.jck12a012.jck12a012 -stress:indulgent
[2008-03-25T19:20:25.41] Exception during disposal:
[2008-03-25T19:23:10.91] java.lang.reflect.InvocationTargetException
[2008-03-25T19:23:10.91] at java.awt.EventQueue.invokeAndWait(EventQueue.java:997)
[2008-03-25T19:23:10.91] at java.awt.Window.doDispose(Window.java:1008)
[2008-03-25T19:23:10.91] at java.awt.Window.dispose(Window.java:951)
[2008-03-25T19:23:10.91] at javasoft.sqe.tests.api.java.awt.Component.isVisibleTests.Component2010(isVisibleTests.java:87)
[2008-03-25T19:23:10.91] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2008-03-25T19:23:10.91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[2008-03-25T19:23:10.91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[2008-03-25T19:23:10.91] at java.lang.reflect.Method.invoke(Method.java:597)
[2008-03-25T19:23:10.91] at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:137)
[2008-03-25T19:23:10.91] at javasoft.sqe.stresstest.StressTest$TestThread.run(StressTest.java:864)
[2008-03-25T19:23:10.91] Caused by: java.lang.OutOfMemoryError: Java heap space
[2008-03-25T19:23:10.91] Exception in thread "Thread-89" java.lang.OutOfMemoryError: Java heap space
[2008-03-25T19:23:10.91] Exception during disposal:
[2008-03-25T19:23:10.91] java.lang.reflect.InvocationTargetException
[2008-03-25T19:23:10.91] at java.awt.EventQueue.invokeAndWait(EventQueue.java:997)
[2008-03-25T19:23:10.91] at java.awt.Window.doDispose(Window.java:1008)
[2008-03-25T19:24:35.61] at java.awt.Window.dispose(Window.java:951)
[2008-03-25T19:24:35.61] at javasoft.sqe.tests.api.java.awt.Component.isEnabledTests.Component2009(isEnabledTests.java:87)
[2008-03-25T19:24:35.61] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2008-03-25T19:24:35.61] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[2008-03-25T19:24:35.61] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[2008-03-25T19:24:35.61] at java.lang.reflect.Method.invoke(Method.java:597)
[2008-03-25T19:24:35.61] at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:137)
[2008-03-25T19:24:35.61] at javasoft.sqe.stresstest.StressTest$TestThread.run(StressTest.java:864)
[2008-03-25T19:24:35.61] Caused by: java.lang.OutOfMemoryError: Java heap space
[2008-03-25T19:24:35.61] Exception in thread "Thread-86" java.lang.OutOfMemoryError: Java heap space
[2008-03-25T19:24:35.61] Exception in thread "Thread-96" java.lang.OutOfMemoryError: Java heap space
[2008-03-25T19:24:35.61] Exception in thread "Thread-97" java.lang.OutOfMemoryError: Java heap space
[2008-03-25T19:24:35.61] Exception in thread "Thread-500" java.lang.OutOfMemoryError: Java heap space
[2008-03-25T19:24:35.61] Exception in thread "Thread-139" java.lang.OutOfMemoryError: Java heap space
[2008-03-25T19:29:17.30] Exception in thread "Thread-110" Exception in thread "Thread-128" java.lang.OutOfMemoryError: Java heap space
Also causes VM crash.
#
# An unexpected error has been detected by Java Runtime Environment:
#
# Internal Error (safepoint.cpp:558), pid=18204, tid=17056
# Error: Deadlock in safepoint code. Should have called back to the VM before blocking.
#
# Java VM: Java HotSpot(TM) Server VM (11.0-b11 mixed mode windows-x86)
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x1302d000): JavaThread "Thread-384" [_thread_in_native_trans, id=17056, stack(0x15a90000,0x15ae0000)]
Stack: [0x15a90000,0x15ae0000]
[error occurred during error reporting (printing stack bounds), id 0x80000001]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.awt.Win32GraphicsDevice.makeColorModel(IZ)Ljava/awt/image/ColorModel;+0
j sun.awt.Win32GraphicsDevice.getColorModel()Ljava/awt/image/ColorModel;+14
j sun.awt.Win32GraphicsConfig.getColorModel()Ljava/awt/image/ColorModel;+4
j javasoft.sqe.tests.api.java.awt.java2d.awt.GraphicsConfiguration.GetColorModelTest.testCase1()Ljavasoft/sqe/harness/Status;+38
v ~StubRoutines::call_stub
J sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
J sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
J sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
J java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
j javasoft.sqe.jck.lib.MultiTest.run([Ljava/lang/String;Ljava/io/PrintStream;Ljava/io/PrintStream;)Ljavasoft/sqe/harness/Status;+147
j javasoft.sqe.stresstest.StressTest$TestThread.run()V+240
v ~StubRoutines::call_stub
This can be reproduced on 6u10 b13 and b14 (bundled with hs11-b11).
Haven't tried hotspot10 (6u4) or hs12 (JDK 7)
It seems that removing -XX:+UseConcMarkSweepGC
solves the problem.