JDK-6195097 : (bf) test/java/nio/Buffer/LimitDirectMemory.sh fails on 32-bit Solaris
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 5.0u2
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2004-11-13
  • Updated: 2012-01-11
  • Resolved: 2006-12-06
Related Reports
Relates :  
Relates :  
Description
This regression test fails repeatedly on TL nightly Solaris Sparc
builds for 5.0u2:

  Testing: -XX:MaxDirectMemorySize=42g -cp /u/w/auto/5.0u2/build/316/jt/work/classes/java/nio/Buffer LimitDirectMemory false 0 DEFAULT
  --- failed
  ----------System.err:(5/300)----------
  Exception in thread "main" java.lang.OutOfMemoryError: Direct buffer memory
	  at java.nio.Bits.reserveMemory(Bits.java:632)
	  at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:95)
	  at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:288)
	  at LimitDirectMemory.main(LimitDirectMemory.java:39)
  result: Failed. Execution failed: exit code 1


Related bugs:  4862640, 5042840.
Those refer only to 64-bit machines, though, while this failure does not.

		
###@###.### 2004-11-13 04:17:48 GMT

Comments
EVALUATION This appears to be a duplicate of 6358118 (fixed in jdk6 b67)
05-12-2006