Does UseLargePages option work on Windows?
    Zhengyu Gu 
    zhengyu.gu at oracle.com
       
    Wed Feb 20 11:39:57 PST 2013
    
    
  
Hi,
I am trying to experiment UseLargePages option (-XX:+UseLargePages) with 
NMT, but I have trouble to get large page to work on Windows (mine is 
Windows 7).
I followed instruction to grant myself the permission to lock pages in 
memory (http://msdn.microsoft.com/en-us/library/ms190730.aspx), but I am 
still getting following warning message:
Java HotSpot(TM) Server VM warning: JVM cannot use large page memory 
because it does not have enough privilege to lock pages in memory.
Test jobs from JPRT also show large pages are not enabled.
Java HotSpot(TM) Client VM warning: Large page is not supported by the operating system.
Java HotSpot(TM) Server VM warning: Large page is not supported by the operating system.
Could you please comment what I did wrong?
Thanks,
-Zhengyu
    
    
More information about the hotspot-dev
mailing list