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/05/29 18:39:43 UTC

[GitHub] [bookkeeper] sudoHackIn commented on issue #3295: JVM exited when running localbookie

sudoHackIn commented on issue #3295:
URL: https://github.com/apache/bookkeeper/issues/3295#issuecomment-1140503110

   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.
   So, may be the best solution - to remove AggressiveOpts and define AutoBoxCacheMax and BiasedLockingStartupDelay explicitly. According to [Java’s -XX:+AggressiveOpts: Can it slow you down?](https://www.opsian.com/blog/aggressive-opts/)](https://www.opsian.com/blog/aggressive-opts/) - AggressiveOpts in java 8 also include only this flags


-- 
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