mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[platform] allowing user-defined -XX:ErrorFile/`-XX:HeapDumpPath (IDEA-312954, macOS launcher 1/2)
GitOrigin-RevId: e056ba6763c032b30ca399ffed25420fc1345525
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7f7f4a70d5
commit
f2e6ee94ba
@@ -421,6 +421,15 @@ NSString *getOverridePropertiesPath(void) {
|
||||
|
||||
[args_array addObject:classpathOption];
|
||||
|
||||
NSString *errorFileOption = jvmInfo[@"ErrorFile"];
|
||||
if (errorFileOption != nil) {
|
||||
[args_array addObject:errorFileOption];
|
||||
}
|
||||
NSString *heapDumpOption = jvmInfo[@"HeapDump"];
|
||||
if (heapDumpOption != nil) {
|
||||
[args_array addObject:heapDumpOption];
|
||||
}
|
||||
|
||||
NSArray *vmOptions = parseVMOptions();
|
||||
if (vmOptions != nil) {
|
||||
[args_array addObjectsFromArray:vmOptions];
|
||||
|
||||
Reference in New Issue
Block a user