Minecraft-Performance-Flags-Benchmarks
Minecraft-Performance-Flags-Benchmarks copied to clipboard
-Dgraal.AlwaysPreTouch
I found this; i'm not sure if it turns on automatically when you use -XX:+AlwaysPreTouch though.
what does it do?
Yes, some Dgraal arguments are seemingly duplicates of the regular OpenJDK ones and enable the same functionality, but I will double check this when I update the readme for GraalVM 22.3.0. There is probably a logging option that will tell you if pretouch is enabled or not.
All of the Dgraal arguments can be found here: https://github.com/brucethemoose/Minecraft-Performance-Flags-Benchmarks/blob/75ae126c561131888120df1b178379b67c22ef06/Flag_Dumps/All_Graal_Flags#L48
Feel free to dig through those and point out anything that looks interesting!
@sydist See the lines here:
https://www.diffchecker.com/xkiHk4wM
Pretouch is enabled from the XX flag: [0.213s][info][gc,init] Pre-touch: Enabled
Even though the Dgraal pretouch flag defaults to false: graal.AlwaysPreTouch = false
I believe these redundant graal flags are targeted at different applications (like native image?).
I think this can be closed since it was already tested. Though feel free to re-open or make a new issue for similar questions.