You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2022/08/15 16:20:19 UTC

[GitHub] [accumulo] dlmarion commented on pull request #2882: Add JVM flag UnlockDiagnosticVMOptions to default JVM options

dlmarion commented on PR #2882:
URL: https://github.com/apache/accumulo/pull/2882#issuecomment-1215283816

   I closed my browser tabs, but I will try to drop some knowledge here :-)
   
   https://chriswhocodes.com/ - this site shows different options for different JVMs. I assume it's mostly correct.
   
   https://alidg.me/blog/2020/12/10/hotspot-intrinsics
   
   https://www.infoworld.com/article/2073676/hotspot-jvm-options-displayed---xx--printflagsinitial-and--xx--printflagsfinal.html
   `java -XX:+PrintFlagsInitial -version` - prints flags and default values
   `java -XX:+PrintFlagsFinal -version` - prints flags and values after JVM startup
   `java -XX:+PrintFlagsFinal -XX:+UnlockDiagnosticVMOptions -version` - includes diagnostic options
   
   
   So, now go back to https://chriswhocodes.com/ and select the JVM that you are using. Let's use https://chriswhocodes.com/hotspot_options_openjdk11.html as an example. Now, change the `availability` drop down from `Show All` to `diagnostic`. I believe that `UnlockDiagnosticVMOptions` unlocks all of these. Note the pages at bottom right. Included in this list are inlining of various native calls and UseSha256Instrinsics, UseSha512Intrinsics, UseAESIntrinsics, etc.
   
   


-- 
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: notifications-unsubscribe@accumulo.apache.org

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