Hotspot stress diagnostic options

SafepointALot: Generate a lot of safepoints. This works with GuaranteedSafepointInterval.

HandshakeALot: Generate a lot of handshakes. This works with GuaranteedSafepointInterval.

DeoptimizeALot: Deoptimize at every exit from the runtime system.

ZombieALot: Create zombies (non-entrant) at exit from the runtime system.

WalkStackALot: Trace stack (no print) at every exit from the runtime system.

DeoptimizeObjectsALot: For testing purposes concurrent threads revert optimizations based on escape analysis at intervals given with DeoptimizeObjectsALotInterval=n. The thread count is given with DeoptimizeObjectsALotThreadCountSingle and DeoptimizeObjectsALotThreadCountAll.

DontYieldALot: Throw away obvious excess yield calls.

StringDeduplicationResizeALot: Force more frequent table resizing.

DeoptimizeNMethodBarriersALot: Make nmethod barriers deoptimise a lot.

OpenJDK Guide

Java Virtual Machine Guide: https://docs.oracle.com/en/java/javase/11/vm/native-memory-tracking.html#GUID-710CAEA1-7C6D-4D80-AB0C-B0958E329407

HostSpot Virtual Machine Garbage Collection Tuning Guide: https://docs.oracle.com/en/java/javase/11/gctuning/garbage-collector-implementation.html#GUID-23844E39-7499-400C-A579-032B68E53073

OpenJDK Developers’ Guide: https://openjdk.java.net/guide/index.html

HotSpot Runtime Overview: https://openjdk.java.net/groups/hotspot/docs/RuntimeOverview.html

Java Coding Style: https://www.oracle.com/java/technologies/javase/codeconventions-contents.html

HotSpot Coding Style: https://github.com/openjdk/jdk/blob/master/doc/hotspot-style.md

HotSpot VM Options: https://www.oracle.com/java/technologies/javase/vmoptions-jsp.html

PrintAssembly: https://wiki.openjdk.java.net/display/HotSpot/PrintAssembly

HotSpot Glossary of Terms: https://openjdk.java.net/groups/hotspot/docs/HotSpotGlossary.html

Building the JDK: https://openjdk.java.net/groups/build/doc/building.html

Building jtreg: http://openjdk.java.net/jtreg/build.html

JVM Allocate Prefetch Options: https://www.opsian.com/blog/jvms-allocateprefetch-options/