JDK-7192872 : java/nio/ByteBuffer/4879883/LimitDirectMemory.sh fails on Windows x64 against jdk 1.4.2
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 1.4.2
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows
  • CPU: x86
  • Submitted: 2012-08-21
  • Updated: 2016-01-25
  • Resolved: 2016-01-25
Related Reports
Duplicate :  
Relates :  
Description
Test java/nio/ByteBuffer/4879883/LimitDirectMemory.sh fails on Windows x64 against jdk 1.4.2.

Test passes on Windows x86 32-bit.

Log:

Testing: -XX:MaxDirectMemorySize=42000000000000000t -cp K:/results/1.4.2_39/b02/regression/win7.sp1-x64-64/1.4.2_39b02-win7.sp1-x64-64_j2se_java_rest/20120817231214/5/current/work/classes/java/nio/ByteBuffer/4879883 LimitDirectMemory true 0 DEFAULT+1M
--- failed
----------System.err:(6/324)----------
java version "1.4.2_39-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_39-ea-b02)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_39-ea-b02, mixed mode)
java.lang.RuntimeException: OutOfMemoryError not thrown: 65929216
	at LimitDirectMemory.main(LimitDirectMemory.java:32)
Exception in thread "main" 
result: Failed. Execution failed: exit code 1


test result: Failed. Execution failed: exit code 1

Comments
Could not reproduce the bug with jdk6u75. So this might not be applicable to 6u as well.
05-02-2014