JDK-8073130 : [TESTBUG] runtime/CompressedOops/CompressedClassPointers.java fails on OSX with java.lang.RuntimeException: 'Narrow klass base: 0x0000000000000000' missing from stdout/stderr
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P1
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: os_x
  • Submitted: 2015-02-13
  • Updated: 2015-06-08
  • Resolved: 2015-02-27
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.
JDK 9
9Resolved
Related Reports
Relates :  
Relates :  
Description
Most likely a result of the disjoint base change in JDK-8064457

Log:

Protected page at the reserved heap base: 0x0000001800000000 / 2097152 bytes

heap address: 0x0000001800200000, size: 128 MB, Compressed Oops mode: Non-zero disjoint base: 0x0000001800000000, Oop shift amount: 3

Narrow klass base: 0x0000001808200000, Narrow klass shift: 0
Compressed class space size: 1073741824 Address: 0x0000001808200000 Req Addr: 0x0000001808200000
];
 stderr: [java version "1.9.0-internal-fastdebug"
Java(TM) SE Runtime Environment (build 1.9.0-internal-fastdebug-20150211165608.danielfuchs.hs-rt-b00)
Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-internal-fastdebug-20150211165608.danielfuchs.hs-rt-b00, mixed mode)
]
 exitValue = 0

java.lang.RuntimeException: 'Narrow klass base: 0x0000000000000000' missing from stdout/stderr 

	at com.oracle.java.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:134)
	at CompressedClassPointers.smallHeapTest(CompressedClassPointers.java:43)
	at CompressedClassPointers.main(CompressedClassPointers.java:141)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:745)

Comments
Only seen once, about two weeks ago. This test runs in JPRT every time, this might be extremely rare or just a one time thing. Closing as CNR, please re-open if it's seen again.
27-02-2015