openjdk11: remove custom heap size.

default is 512M.
This commit is contained in:
Jerome Duval
2019-02-23 16:59:36 +01:00
parent c699934030
commit 25035af002

View File

@@ -147,13 +147,12 @@ BUILD()
export DISABLE_ASLR=1
# Verify that we can allocate a large enough heap before starting.
maxHeapSize=960M
java -XX:ThreadStackSize=1536 -Xmx${maxHeapSize} -version
java -XX:ThreadStackSize=1536 -Xmx1024M -version
freeTypeHeaders=$(finddir B_SYSTEM_HEADERS_DIRECTORY)$secondaryArchSubDir/freetype2
freeTypeLib=$(finddir B_SYSTEM_DEVELOP_DIRECTORY)/lib$secondaryArchSubDir
bash ./configure --with-boot-jdk-jvmargs="-Xmx${maxHeapSize} -XX:CompressedClassSpaceSize=512m" \
bash ./configure --with-boot-jdk-jvmargs="-XX:CompressedClassSpaceSize=512m" \
--with-freetype-include="${freeTypeHeaders}" \
--with-freetype-lib="${freeTypeLib}" \
--with-jtreg=./jtreg \
@@ -162,7 +161,7 @@ BUILD()
--with-version-opt="" \
--with-num-cores=1
make images
make images LOG=info
}
INSTALL()