mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing
JEP 245: implement ranges and constraints for runtime flags. Co-authored-by: Goetz Lindenmaier <goetz.lindenmaier@sap.com> Reviewed-by: coleenp, ddmitriev, jiangli, goetz
This commit is contained in:
parent
7b389d3533
commit
22838597ea
17 changed files with 225 additions and 57 deletions
|
@ -419,7 +419,7 @@ void VMThread::loop() {
|
|||
|
||||
// Support for self destruction
|
||||
if ((SelfDestructTimer != 0) && !is_error_reported() &&
|
||||
(os::elapsedTime() > SelfDestructTimer * 60)) {
|
||||
(os::elapsedTime() > (double)SelfDestructTimer * 60.0)) {
|
||||
tty->print_cr("VM self-destructed");
|
||||
exit(-1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue