Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between -HeapDumpOnOutOfMemoryError and +HeapDumpOnOutOfMemoryError options?

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

like image 299
Petro Semeniuk Avatar asked Mar 04 '13 07:03

Petro Semeniuk


1 Answers

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.

like image 75
user207421 Avatar answered Nov 15 '22 00:11

user207421