Skip to content

Commit

Permalink
Merge pull request #20462 from LinHu2016/off-heap-incremental2
Browse files Browse the repository at this point in the history
Update Java8 build specs for off-heap
  • Loading branch information
amicic authored Nov 4, 2024
2 parents 5439dcf + c62ff0f commit 903b8ac
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 5 deletions.
1 change: 1 addition & 0 deletions buildspecs/aix_ppc-64.spec
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
<flag id="gc_debugAsserts" value="true"/>
<flag id="gc_inlinedAllocFields" value="true"/>
<flag id="gc_minimumObjectSize" value="true"/>
<flag id="gc_sparseHeapAllocation" value="true"/>
<flag id="gc_subpoolsAlias" value="true"/>
<flag id="graph_cmdLineTester" value="true"/>
<flag id="graph_compile" value="true"/>
Expand Down
1 change: 1 addition & 0 deletions buildspecs/cmprssptrs.feature
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<flag id="gc_classesOnHeap" value="true"/>
<flag id="gc_compressedPointers" value="true"/>
<flag id="gc_objectAccessBarrier" value="true"/>
<flag id="gc_sparseHeapAllocation" value="true"/>
<flag id="interp_compressedObjectHeader" value="true"/>
<flag id="interp_smallMonitorSlot" value="true"/>
</flags>
Expand Down
7 changes: 7 additions & 0 deletions buildspecs/j9.flags
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,13 @@ all data is stored in their own region. It additionaly reduces footprint, mainly
<description>Enable Segregated Heap model.</description>
<ifRemoved>The Segregated Heap model will not be used</ifRemoved>
</flag>
<flag id="gc_sparseHeapAllocation">
<description>Allows large arrays to be allocated off-heap</description>
<ifRemoved></ifRemoved>
<requires>
<require flag="env_data64"/>
</requires>
</flag>
<flag id="gc_strictOmr">
<description>Enable Strict OMR compile and link for testing</description>
<ifRemoved>Compile for JAVA</ifRemoved>
Expand Down
3 changes: 2 additions & 1 deletion buildspecs/linux_390-64.spec
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,10 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
<flag id="env_sharedLibsUseGlobalTable" value="true"/>
<flag id="gc_batchClearTLH" value="true"/>
<flag id="gc_debugAsserts" value="true"/>
<flag id="gc_inlinedAllocFields" value="true"/>
<flag id="gc_enableDoubleMap" value="true"/>
<flag id="gc_inlinedAllocFields" value="true"/>
<flag id="gc_minimumObjectSize" value="true"/>
<flag id="gc_sparseHeapAllocation" value="true"/>
<flag id="gc_subpoolsAlias" value="true"/>
<flag id="graph_cmdLineTester" value="true"/>
<flag id="graph_compile" value="true"/>
Expand Down
1 change: 1 addition & 0 deletions buildspecs/linux_aarch64.spec
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
<flag id="gc_debugAsserts" value="true"/>
<flag id="gc_inlinedAllocFields" value="true"/>
<flag id="gc_minimumObjectSize" value="true"/>
<flag id="gc_sparseHeapAllocation" value="true"/>
<flag id="gc_tlhPrefetchFTA" value="true"/>
<flag id="graph_cmdLineTester" value="true"/>
<flag id="graph_compile" value="true"/>
Expand Down
1 change: 1 addition & 0 deletions buildspecs/linux_aarch64_cross.spec
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
<flag id="gc_debugAsserts" value="true"/>
<flag id="gc_inlinedAllocFields" value="true"/>
<flag id="gc_minimumObjectSize" value="true"/>
<flag id="gc_sparseHeapAllocation" value="true"/>
<flag id="gc_tlhPrefetchFTA" value="true"/>
<flag id="graph_cmdLineTester" value="true"/>
<flag id="graph_compile" value="true"/>
Expand Down
3 changes: 2 additions & 1 deletion buildspecs/linux_ppc-64.spec
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,10 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
<flag id="env_sharedLibsUseGlobalTable" value="true"/>
<flag id="gc_batchClearTLH" value="true"/>
<flag id="gc_debugAsserts" value="true"/>
<flag id="gc_inlinedAllocFields" value="true"/>
<flag id="gc_enableDoubleMap" value="true"/>
<flag id="gc_inlinedAllocFields" value="true"/>
<flag id="gc_minimumObjectSize" value="true"/>
<flag id="gc_sparseHeapAllocation" value="true"/>
<flag id="gc_subpoolsAlias" value="true"/>
<flag id="graph_cmdLineTester" value="true"/>
<flag id="graph_compile" value="true"/>
Expand Down
3 changes: 2 additions & 1 deletion buildspecs/linux_ppc-64_le.spec
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,10 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
<flag id="env_sharedLibsUseGlobalTable" value="true"/>
<flag id="gc_batchClearTLH" value="true"/>
<flag id="gc_debugAsserts" value="true"/>
<flag id="gc_inlinedAllocFields" value="true"/>
<flag id="gc_enableDoubleMap" value="true"/>
<flag id="gc_inlinedAllocFields" value="true"/>
<flag id="gc_minimumObjectSize" value="true"/>
<flag id="gc_sparseHeapAllocation" value="true"/>
<flag id="gc_subpoolsAlias" value="true"/>
<flag id="graph_cmdLineTester" value="true"/>
<flag id="graph_compile" value="true"/>
Expand Down
1 change: 1 addition & 0 deletions buildspecs/linux_riscv64.spec
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
<flag id="gc_debugAsserts" value="true"/>
<flag id="gc_inlinedAllocFields" value="true"/>
<flag id="gc_minimumObjectSize" value="true"/>
<flag id="gc_sparseHeapAllocation" value="true"/>
<flag id="gc_tlhPrefetchFTA" value="true"/>
<flag id="graph_cmdLineTester" value="true"/>
<flag id="graph_compile" value="true"/>
Expand Down
1 change: 1 addition & 0 deletions buildspecs/linux_riscv64_cross.spec
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
<flag id="gc_debugAsserts" value="true"/>
<flag id="gc_inlinedAllocFields" value="true"/>
<flag id="gc_minimumObjectSize" value="true"/>
<flag id="gc_sparseHeapAllocation" value="true"/>
<flag id="gc_tlhPrefetchFTA" value="true"/>
<flag id="graph_cmdLineTester" value="true"/>
<flag id="graph_compile" value="true"/>
Expand Down
3 changes: 2 additions & 1 deletion buildspecs/linux_x86-64.spec
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,10 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
<flag id="env_littleEndian" value="true"/>
<flag id="gc_batchClearTLH" value="true"/>
<flag id="gc_debugAsserts" value="true"/>
<flag id="gc_inlinedAllocFields" value="true"/>
<flag id="gc_enableDoubleMap" value="true"/>
<flag id="gc_inlinedAllocFields" value="true"/>
<flag id="gc_minimumObjectSize" value="true"/>
<flag id="gc_sparseHeapAllocation" value="true"/>
<flag id="gc_tlhPrefetchFTA" value="true"/>
<flag id="graph_cmdLineTester" value="true"/>
<flag id="graph_compile" value="true"/>
Expand Down
1 change: 1 addition & 0 deletions buildspecs/linux_ztpf_390-64.spec
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
<flag id="gc_debugAsserts" value="true"/>
<flag id="gc_inlinedAllocFields" value="true"/>
<flag id="gc_minimumObjectSize" value="true"/>
<flag id="gc_sparseHeapAllocation" value="true"/>
<flag id="gc_subpoolsAlias" value="true"/>
<flag id="graph_cmdLineTester" value="true"/>
<flag id="graph_j2seSanity" value="true"/>
Expand Down
3 changes: 2 additions & 1 deletion buildspecs/osx_x86-64.spec
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,10 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
<flag id="env_littleEndian" value="true"/>
<flag id="gc_batchClearTLH" value="true"/>
<flag id="gc_debugAsserts" value="true"/>
<flag id="gc_inlinedAllocFields" value="true"/>
<flag id="gc_enableDoubleMap" value="true"/>
<flag id="gc_inlinedAllocFields" value="true"/>
<flag id="gc_minimumObjectSize" value="true"/>
<flag id="gc_sparseHeapAllocation" value="true"/>
<flag id="gc_tlhPrefetchFTA" value="true"/>
<flag id="graph_cmdLineTester" value="true"/>
<flag id="graph_compile" value="true"/>
Expand Down
1 change: 1 addition & 0 deletions buildspecs/win_x86-64.spec
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
<flag id="gc_debugAsserts" value="true"/>
<flag id="gc_inlinedAllocFields" value="true"/>
<flag id="gc_minimumObjectSize" value="true"/>
<flag id="gc_sparseHeapAllocation" value="true"/>
<flag id="gc_tlhPrefetchFTA" value="true"/>
<flag id="graph_cmdLineTester" value="true"/>
<flag id="graph_compile" value="true"/>
Expand Down
1 change: 1 addition & 0 deletions buildspecs/zos_390-64.spec
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
<flag id="gc_debugAsserts" value="true"/>
<flag id="gc_inlinedAllocFields" value="true"/>
<flag id="gc_minimumObjectSize" value="true"/>
<flag id="gc_sparseHeapAllocation" value="true"/>
<flag id="gc_subpoolsAlias" value="true"/>
<flag id="graph_compile" value="true"/>
<flag id="graph_copyJ2SEToToronto" value="true"/>
Expand Down

0 comments on commit 903b8ac

Please sign in to comment.