FULL PRODUCT VERSION :
java version " 1.7.0_25 "
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
FULL OS VERSION :
Linux pierohd111.ds.redbeemedia.net 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
According to:
http://docs.oracle.com/javase/7/docs/technotes/guides/io/enhancements.html
the Java 7 runtime should accept the option -XX:+PageAlignDirectMemory. This should revert the behaviour for allocating " direct " ByteBuffers (using ByteBuffer.allocateDirect()) so that the allocated memory is aligned to page boundary.
Instead, when you run the command:
java -XX:+PageAlignDirectMemory
It gives the response:
Unrecognized VM option 'PageAlignDirectMemory'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Yes
THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run the command:
java -XX:+PageAlignDirectMemory
It gives the response:
Unrecognized VM option 'PageAlignDirectMemory'
REPRODUCIBILITY :
This bug can be reproduced always.