-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
hs23, hs24
If specified MaxPermSize value is less than LargePageSizeInBytes then after aligning it down to LargePageSizeInBytes it's size will be 0 and VM initialization fails with message: "Too small initial permanent heap".
$ 1.7.0_60/latest/binaries/solaris-sparcv9/fastdebug/bin/java -XX:+UseLargePages -XX:LargePageSizeInBytes=2G -XX:+UseG1GC -d64 -version
Error occurred during initialization of VM
Too small initial permanent heap
VM should print explicit reason of initialization failure, something like: "perm size should be multiple of LargePageSizeInBytes".
All GCs except Parallel GC are affected (Parallel GC choose actual page size from range of all available page sizes which is limited by LargePageSizeInBytes).
$ 1.7.0_60/latest/binaries/solaris-sparcv9/fastdebug/bin/java -XX:+UseLargePages -XX:LargePageSizeInBytes=2G -XX:+UseG1GC -d64 -version
Error occurred during initialization of VM
Too small initial permanent heap
VM should print explicit reason of initialization failure, something like: "perm size should be multiple of LargePageSizeInBytes".
All GCs except Parallel GC are affected (Parallel GC choose actual page size from range of all available page sizes which is limited by LargePageSizeInBytes).