Codereview request: 8007710 runtime/7158988/FieldMonitor.java fails with com.sun.jdi.VMDisconnectedException: Connection closed

shanliang shanliang.jiang at oracle.com
Tue Feb 11 07:21:30 PST 2014


public web:
http://cr.openjdk.java.net/~sjiang/JDK-8007710/00/

Shanliang

shanliang wrote:
> 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



More information about the serviceability-dev mailing list