added vmarg to stop tiered compilation at level 1

This commit is contained in:
Martin Lippert
2019-07-10 17:03:05 +02:00
parent b1ed6bb937
commit 855887dc08
2 changed files with 4 additions and 2 deletions

View File

@@ -95,7 +95,8 @@ export abstract class StsLanguageServerContribution extends BaseLanguageServerCo
'-Dsts.lsp.client=theia',
'-Dlsp.completions.indentation.enable=true',
'-Dlsp.yaml.completions.errors.disable=true',
`-Dserver.port=${env.CLIENT_PORT}`
`-Dserver.port=${env.CLIENT_PORT}`,
'-XX:TieredStopAtLevel=1'
);
args.push(...this.jvmArguments);

View File

@@ -153,7 +153,8 @@ export function activate(options: ActivatorOptions, context: VSCode.ExtensionCon
'-Dserver.port=' + port,
'-Dsts.lsp.client=vscode',
'-Dsts.log.file=' + logfile, //old style log redirect
'-Dlogging.file=' + logfile // spring boot log redirect
'-Dlogging.file=' + logfile, // spring boot log redirect
'-XX:TieredStopAtLevel=1'
];
if (options.checkjvm) {
options.checkjvm(context, jvm);