You can start and stop dump agents on a particular occurrence of a JVM event by using the range suboption.
-Xdump:java:events=fullgc,range=100..200
The JVM default dump agents have the range option set to 1..0 for all events except systhrow. All systhrow events with filter=java/lang/OutOfMemoryError have the range set to 1..4, which limits the number of dumps produced on OutOfMemory conditions to a maximum of 4. For more information, see Default dump agents
If you add a new dump agent and do not specify the range, a default of 1..0 is used.