mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-04 23:48:33 +00:00
Merge
This commit is contained in:
commit
380a9bb2db
@ -129,7 +129,7 @@ java.launcher.X.usage=\n\
|
||||
\ -Xms<size> set initial Java heap size\n\
|
||||
\ -Xmx<size> set maximum Java heap size\n\
|
||||
\ -Xnoclassgc disable class garbage collection\n\
|
||||
\ -Xprof output cpu profiling data\n\
|
||||
\ -Xprof output cpu profiling data (deprecated)\n\
|
||||
\ -Xrs reduce use of OS signals by Java/VM (see documentation)\n\
|
||||
\ -Xshare:auto use shared class data if possible (default)\n\
|
||||
\ -Xshare:off do not attempt to use shared class data\n\
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -88,8 +88,8 @@ public class JInfoTest {
|
||||
LingeredApp.startApp(params, app2);
|
||||
OutputAnalyzer output = jinfo("JInfoTestLingeredApp");
|
||||
output.shouldHaveExitValue(0);
|
||||
// "HotSpot(TM)" written once per proc
|
||||
documentMatch(output.getStdout(), ".*HotSpot\\(TM\\).*HotSpot\\(TM\\).*");
|
||||
// "Runtime Environment" written once per proc
|
||||
documentMatch(output.getStdout(), ".*Runtime Environment.*Runtime Environment.*");
|
||||
} finally {
|
||||
JInfoTestLingeredApp.stopApp(app1);
|
||||
JInfoTestLingeredApp.stopApp(app2);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user