mirror of
https://github.com/SWG-Source/src.git
synced 2026-08-02 02:15:58 -04:00
disable java perf counters as they shit in our /tmp dir until it is full, and this upsets oracle
This commit is contained in:
@@ -1167,8 +1167,9 @@ void JavaLibrary::initializeJavaThread()
|
||||
{
|
||||
|
||||
// java 1.8 and higher uses metaspace...which is apparently unlimited by default
|
||||
// and turn off perf counters as they crap up the tmp dir
|
||||
#if defined(JNI_VERSION_1_8) || defined(JNI_VERSION_1_9)
|
||||
tempOption.optionString = "-XX:MetaspaceSize=64m";
|
||||
tempOption.optionString = "-XX:MetaspaceSize=64m --XX:-UsePerfData";
|
||||
options.push_back(tempOption);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user