Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8031957 | 7u60 | Joni Gordon | P4 | Resolved | Fixed | b03 |
JDK-8029311 | 7u55 | Joni Gordon | P4 | Resolved | Fixed | b01 |
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.
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.
- backported by
-
JDK-8029311 Remove -XX:+PageAlignDirectMemory reference in the Enhancements in Java I/O doc
-
- Resolved
-
-
JDK-8031957 Remove -XX:+PageAlignDirectMemory reference in the Enhancements in Java I/O doc
-
- Resolved
-
- relates to
-
JDK-4837564 (bf) Please make DirectByteBuffer performance enhancements
-
- Closed
-
-
JDK-6992192 Need option to configure if direct memory is page aligned
-
- Closed
-