mirror of
https://github.com/rdk/p2rank.git
synced 2026-06-04 12:44:24 +08:00
add UseCompactObjectHeaders note to local-env.sh template
This commit is contained in:
@@ -6,10 +6,12 @@
|
|||||||
# copy to project root dir and edit
|
# copy to project root dir and edit
|
||||||
#
|
#
|
||||||
|
|
||||||
# -Xmx31G max heap 31G (not 32G, to keep compressed oops enabled)
|
# -Xmx31G max heap 31G (not 32G, to keep compressed oops enabled)
|
||||||
# -XX:+UseParallelGC throughput-oriented GC (better than G1 for batch workloads)
|
# -XX:+UseParallelGC throughput-oriented GC (better than G1 for batch workloads)
|
||||||
# -XX:+AlwaysPreTouch pre-fault heap pages at startup to avoid page faults later
|
# -XX:+UseCompactObjectHeaders 64-bit object headers instead of 128-bit (JEP 450, JDK 24+)
|
||||||
# -XX:+EagerJVMCI initialize Graal JIT at startup for faster warmup (only with GraalVM)
|
# note: incompatible with -Xmx31G (compressed oops limit shifts to ~29G)
|
||||||
|
# -XX:+AlwaysPreTouch pre-fault heap pages at startup to avoid page faults later
|
||||||
|
# -XX:+EagerJVMCI initialize Graal JIT at startup for faster warmup (only with GraalVM)
|
||||||
export JAVA_LOCALENV_PARAMS="-Xmx31G -XX:+UseParallelGC"
|
export JAVA_LOCALENV_PARAMS="-Xmx31G -XX:+UseParallelGC"
|
||||||
|
|
||||||
export PRANK_LOCALENV_PARAMS="-threads 8"
|
export PRANK_LOCALENV_PARAMS="-threads 8"
|
||||||
|
|||||||
Reference in New Issue
Block a user