8201247: Various cleanups in the attach framework

Reviewed-by: goetz, cjplummer
This commit is contained in:
clanger
2018-04-11 09:47:41 +02:00
parent ebbed9af5d
commit ac081ed26d
15 changed files with 149 additions and 293 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2018, 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
@@ -225,7 +225,7 @@ public class VirtualMachineImpl extends HotSpotVirtualMachine {
return fd;
}
// On Solaris/Linux a simple handshake is used to start the attach mechanism
// On Solaris a simple handshake is used to start the attach mechanism
// if not already started. The client creates a .attach_pid<pid> file in the
// target VM's working directory (or temporary directory), and the SIGQUIT
// handler checks for the file.