Skip to content

Commit

Permalink
[JVM] Remove non-portable UseTransparentHugePages flag
Browse files Browse the repository at this point in the history
Maybe this'll return as a config thing if this carries a significant
enough improvement.
  • Loading branch information
Kaiepi committed Aug 4, 2022
1 parent 4568f1e commit 08d509b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tools/templates/jvm/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ THIRDPARTY_JARS = $(ASM)@cpsep@$(ASMTREE)@cpsep@$(JLINE)@cpsep@$(JNA)@cpsep@$(JN
@bpv(RUNNER_LIBS)@ = @nfplq(nqp.@bext@)@
@bpv(EVAL_CLIENT)@ = @nfp(tools/jvm/eval-client.pl)@

@bpv(STAGE0_NQP)@ = $(JAVA) -XX:+UseLargePages -XX:+AggressiveHeap -XX:+AllowParallelDefineClass -cp @bpm(STAGE0_DIR)@ -Xbootclasspath/a:@bpm(STAGE0_DIR)@@cpsep@@bsm(RUNTIME)@@cpsep@@q($(THIRDPARTY_JARS))@@cpsep@@nfp(@bpm(STAGE0_DIR)@/nqp.jar)@ nqp --bootstrap
@bpv(STAGE1_NQP)@ = $(JAVA) -XX:+UseLargePages -XX:+AggressiveHeap -XX:+AllowParallelDefineClass -cp @bpm(STAGE1_DIR)@ -Xbootclasspath/a:@bpm(STAGE1_DIR)@@cpsep@@bsm(RUNTIME)@@cpsep@@q($(THIRDPARTY_JARS))@@cpsep@@nfp(@bpm(STAGE1_DIR)@/nqp.jar)@ nqp --bootstrap
@bpv(STAGE0_NQP)@ = $(JAVA) -XX:+AggressiveHeap -XX:+AllowParallelDefineClass -cp @bpm(STAGE0_DIR)@ -Xbootclasspath/a:@bpm(STAGE0_DIR)@@cpsep@@bsm(RUNTIME)@@cpsep@@q($(THIRDPARTY_JARS))@@cpsep@@nfp(@bpm(STAGE0_DIR)@/nqp.jar)@ nqp --bootstrap
@bpv(STAGE1_NQP)@ = $(JAVA) -XX:+AggressiveHeap -XX:+AllowParallelDefineClass -cp @bpm(STAGE1_DIR)@ -Xbootclasspath/a:@bpm(STAGE1_DIR)@@cpsep@@bsm(RUNTIME)@@cpsep@@q($(THIRDPARTY_JARS))@@cpsep@@nfp(@bpm(STAGE1_DIR)@/nqp.jar)@ nqp --bootstrap

@for_stages(@bpv(@ucstage@_GEN_CAT)@ = @bpm(GEN_CAT)@ @lcstage@
@bpv(NQP_@ucstage@_FLAGS)@ = --javaclass=nqp
Expand Down
2 changes: 1 addition & 1 deletion tools/templates/jvm/nqp-j.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ DIR=$(dirname -- "$EXEC")
@setenv(JAR_DIR)@@q(@jar_dir@)@
@setenv(LIB_DIR)@@q(@lib_dir@)@

@exec(java)@ -Dnqp.execname="$EXEC" -XX:+LargeHugePages -XX:+AggressiveHeap -XX:+AllowParallelDefineClass -Xbootclasspath/a:"@cur_dir@@envvar(LIB_DIR)@@cpsep@@nfp(@envvar(JAR_DIR)@/nqp-runtime.jar)@@cpsep@@nfp(@envvar(JAR_DIR)@/@asmfile@)@@cpsep@@nfp(@envvar(JAR_DIR)@/@jlinefile@)@@cpsep@@nfp(@envvar(JAR_DIR)@/@jnafile@)@@cpsep@@nfp(@envvar(JAR_DIR)@/@jnaplatformfile@)@@cpsep@@nfp(@envvar(JAR_DIR)@/@xzfile@)@@cpsep@@nfp(@envvar(LIB_DIR)@/nqp.jar)@" -cp "@cur_dir@@envvar(LIB_DIR)@" nqp "@sh_allparams@"
@exec(java)@ -Dnqp.execname="$EXEC" -XX:+AggressiveHeap -XX:+AllowParallelDefineClass -Xbootclasspath/a:"@cur_dir@@envvar(LIB_DIR)@@cpsep@@nfp(@envvar(JAR_DIR)@/nqp-runtime.jar)@@cpsep@@nfp(@envvar(JAR_DIR)@/@asmfile@)@@cpsep@@nfp(@envvar(JAR_DIR)@/@jlinefile@)@@cpsep@@nfp(@envvar(JAR_DIR)@/@jnafile@)@@cpsep@@nfp(@envvar(JAR_DIR)@/@jnaplatformfile@)@@cpsep@@nfp(@envvar(JAR_DIR)@/@xzfile@)@@cpsep@@nfp(@envvar(LIB_DIR)@/nqp.jar)@" -cp "@cur_dir@@envvar(LIB_DIR)@" nqp "@sh_allparams@"
2 changes: 1 addition & 1 deletion tools/templates/jvm/nqp-j.windows
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@setenv(JAR_DIR)@@jar_dir@
@setenv(LIB_DIR)@@lib_dir@

@exec(java)@ -Dnqp.execname="%~dpf0" -XX:+UseLargePages -XX:+AggressiveHeap -XX:+AllowParallelDefineClass -Xbootclasspath/a:"@cur_dir@@envvar(LIB_DIR)@@cpsep@@nfp(@envvar(JAR_DIR)@/nqp-runtime.jar)@@cpsep@@nfp(@envvar(JAR_DIR)@/@asmfile@)@@cpsep@@nfp(@envvar(JAR_DIR)@/@jlinefile@)@@cpsep@@nfp(@envvar(JAR_DIR)@/@jnafile@)@@cpsep@@nfp(@envvar(JAR_DIR)@/@jnaplatformfile@)@@cpsep@@nfp(@envvar(JAR_DIR)@/@xzfile@)@@cpsep@@nfp(@envvar(LIB_DIR)@/nqp.jar)@" -cp "@cur_dir@@envvar(LIB_DIR)@" nqp @sh_allparams@
@exec(java)@ -Dnqp.execname="%~dpf0" -XX:+AggressiveHeap -XX:+AllowParallelDefineClass -Xbootclasspath/a:"@cur_dir@@envvar(LIB_DIR)@@cpsep@@nfp(@envvar(JAR_DIR)@/nqp-runtime.jar)@@cpsep@@nfp(@envvar(JAR_DIR)@/@asmfile@)@@cpsep@@nfp(@envvar(JAR_DIR)@/@jlinefile@)@@cpsep@@nfp(@envvar(JAR_DIR)@/@jnafile@)@@cpsep@@nfp(@envvar(JAR_DIR)@/@jnaplatformfile@)@@cpsep@@nfp(@envvar(JAR_DIR)@/@xzfile@)@@cpsep@@nfp(@envvar(LIB_DIR)@/nqp.jar)@" -cp "@cur_dir@@envvar(LIB_DIR)@" nqp @sh_allparams@

0 comments on commit 08d509b

Please sign in to comment.