What is the difference between -HeapDumpOnOutOfMemoryError and +HeapDumpOnOutOfMemoryError options?
Asked Answered
M

1

9

In Oracle's official doc HeapDumpOnOutOfMemoryError option specified with plus and minus sign. I'm just curious what do they stand for since it's not explained in official user guide

Myriagram answered 4/3, 2013 at 7:13 Comment(0)
S
19

it’s not explained

Certainly it is. From the page you cited:

Some command-line options use the HotSpot implementation format; that is, you must place the colon (:) between the -XX and the option name followed by a the necessary operator to indicate enabling (+) or disabling (-) the new hash function.

Siding answered 4/3, 2013 at 7:16 Comment(1)
Thanks for quoting it here, since Oracle decided to move the doc page.Hellebore

© 2022 - 2024 — McMap. All rights reserved.