United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7151089 PS NUMA: NUMA allocator should not attempt to free pages when using SHM large pages
JDK-7151089 : PS NUMA: NUMA allocator should not attempt to free pages when using SHM large pages

Details
Type:
Bug
Submit Date:
2012-03-05
Status:
Resolved
Updated Date:
2013-04-30
Project Name:
JDK
Resolved Date:
2012-03-21
Component:
hotspot
OS:
linux
Sub-Component:
gc
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs23
Fixed Versions:
hs24 (b04)

Related Reports
Backport:
Backport:

Sub Tasks

Description
We already turn adaptive resizing off (UseAdaptiveNUMAChunkSizing and UseAdaptiveSizePolicy) when using SHM-based large pages because these don't support uncommiting. However that is not enough - during the initialization we still do it once, which on linux leads to mmaping over the eden portion of the SHM segment. By doing this we loose large pages support and also increase memory requirements.

                                    

Comments
SUGGESTED FIX

Avoid calling os::free_memory() for SHM - based setups.
                                     
2012-03-05
EVALUATION

See description.
                                     
2012-03-05
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/cf956638b844
                                     
2012-03-12
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/cf956638b844
                                     
2012-03-17



Hardware and Software, Engineered to Work Together