You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2022/06/17 14:36:06 UTC

[GitHub] [bookkeeper] weiping-code commented on a diff in pull request #3334: [ISSUE 3295]Fix JVM exited when running localbookie with jdk17 (#3295)

weiping-code commented on code in PR #3334:
URL: https://github.com/apache/bookkeeper/pull/3334#discussion_r900182817


##########
bin/common.sh:
##########
@@ -96,7 +96,8 @@ else
     -XX:MaxGCPauseMillis=10 \
     -XX:+ParallelRefProcEnabled \
     -XX:+UnlockExperimentalVMOptions \
-    -XX:+AggressiveOpts \
+    -XX:AutoBoxCacheMax=20000 \

Review Comment:
   This flag (-XX:+AggressiveOpts) was deprecated in JDK 11 and removed in JDK 12 (https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8199778), and according to link
   
   The only effect that the flag currently has is setting AutoBoxCacheMax = 20000 and BiasedLockingStartupDelay = 500.
   Both can be done manually by setting the corresponding flags on the command line.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@bookkeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org