< prev index next >
test/hotspot/jtreg/compiler/ciReplay/SABase.java
Print this page
rev 59383 : [mq]: final
*** 1,7 ****
/*
! * Copyright (c) 2016, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2016, 2020, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 131,147 ****
String out = oa.getOutput().trim(); // cut win/*nix newlines
if (!out.equals("unlimited") && !out.equals("-1")) {
throw new Error("Unable to set limits");
}
}
- if (Platform.isSolaris()) {
- try {
- OutputAnalyzer oa = ProcessTools.executeProcess("coreadm", "-p", "core",
- "" + ProcessHandle.current().pid());
- oa.shouldHaveExitValue(0);
- } catch (Throwable t) {
- throw new Error("Can't launch coreadm: " + t, t);
- }
- }
}
}
--- 131,138 ----
< prev index next >