Codereview request: 8007710 runtime/7158988/FieldMonitor.java fails with com.sun.jdi.VMDisconnectedException: Connection closed (original) (raw)
shanliang shanliang.jiang at oracle.com
Tue Feb 11 06:13:46 PST 2014
- Previous message: RFR(M): 8034080 Remove the USDT1 dtrace code from Hotspot
- Next message: Codereview request: 8007710 runtime/7158988/FieldMonitor.java fails with com.sun.jdi.VMDisconnectedException: Connection closed
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi ,
The problem could be that FieldMonitor did not have enough time to "addFieldWatch" but the vm to monitor (TestPostFieldModification) was already ended.
So we should make sure that TestPostFieldModification exits after FieldMonitor has done necessary. The solution proposed here is that FieldMonitor creates a file after adding field watching, and TestPostFieldModification quits only after finding the file.
web: http://icncweb.fr.oracle.com/~shjiang/webrev/8007710/00/
bug: https://bugs.openjdk.java.net/browse/JDK-8007710
Thanks, Shanliang
- Previous message: RFR(M): 8034080 Remove the USDT1 dtrace code from Hotspot
- Next message: Codereview request: 8007710 runtime/7158988/FieldMonitor.java fails with com.sun.jdi.VMDisconnectedException: Connection closed
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]