8068225: nsk/jdi/EventQueue/remove_l/remove_l005 intermittently times out

Reviewed-by: cjplummer, sspitsyn
This commit is contained in:
Gary Adams 2019-02-11 07:19:32 -05:00
parent ebaef49ed4
commit 9bc10ee9bf
3 changed files with 5 additions and 4 deletions
test/hotspot/jtreg
ProblemList.txt
vmTestbase/nsk
jdi/VirtualMachine/canBeModified
share/jdi

@ -164,7 +164,6 @@ vmTestbase/nsk/jdi/BScenarios/hotswap/tc10x001/TestDescription.java 8013728 gene
vmTestbase/nsk/jdi/EventRequest/setEnabled/setenabled003/TestDescription.java 8066993 generic-all
vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses021/TestDescription.java 8065773 generic-all
vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses023/TestDescription.java 8065773 generic-all
vmTestbase/nsk/jdi/EventQueue/remove_l/remove_l005/TestDescription.java 8068225 generic-all
vmTestbase/metaspace/gc/firstGC_10m/TestDescription.java 8208250 generic-all
vmTestbase/metaspace/gc/firstGC_50m/TestDescription.java 8208250 generic-all

@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2019, 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
@ -78,6 +78,7 @@ public class canbemodified001 {
exitStatus = Consts.TEST_FAILED;
e.printStackTrace();
} finally {
debugee.resume();
debugee.endDebugee();
}
display("Test finished. exitStatus = " + exitStatus);

@ -1,5 +1,5 @@
/*
* Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 2019, 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
@ -557,6 +557,7 @@ abstract public class Debugee extends DebugeeProcess {
* exit status code.
*/
public int endDebugee() {
int status = waitFor();
if (vm != null) {
try {
vm.dispose();
@ -564,7 +565,7 @@ abstract public class Debugee extends DebugeeProcess {
}
vm = null;
}
return waitFor();
return status;
}
/*