rebuild geeqie
[oi-userland.git] / components / runtime / openjdk-8 / patches / 0005-patch-common_autoconf_boot-jdk.m4.patch
blob828d9da7d8c4e1af72ab82d4ab45a99afb2361c2
1 $NetBSD: patch-common_autoconf_boot-jdk.m4,v 1.3 2018/12/12 14:22:11 ryoon Exp $
3 --- common/autoconf/boot-jdk.m4.orig 2018-12-09 09:50:43.000000000 +0000
4 +++ common/autoconf/boot-jdk.m4
5 @@ -334,14 +334,12 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK_AR
6 # Maximum amount of heap memory.
7 # Maximum stack size.
8 if test "x$BOOT_JDK_BITS" = x32; then
9 - JVM_MAX_HEAP=768M
10 STACK_SIZE=768
11 else
12 # Running Javac on a JVM on a 64-bit machine, takes more space since 64-bit
13 # pointers are used. Apparently, we need to increase the heap and stack
14 # space for the jvm. More specifically, when running javac to build huge
15 # jdk batch
16 - JVM_MAX_HEAP=1600M
17 STACK_SIZE=1536
19 ADD_JVM_ARG_IF_OK([-Xmx$JVM_MAX_HEAP],boot_jdk_jvmargs_big,[$JAVA])