11 Commits

Author SHA1 Message Date
Leonid Mesnik
186dcb2f42 8229957: Harden pid verification in attach mechanism
Reviewed-by: sspitsyn, ysuenaga, sgehwolf
2019-08-22 10:40:34 -07:00
Ralf Schmelter
b0adbe8fcf 8227440: Implement fix to JDK-8224642 on all platforms
Reviewed-by: sspitsyn, clanger
2019-07-16 13:57:13 +02:00
Gary Adams
3c29fa1203 8224642: Test sun/tools/jcmd/TestJcmdSanity.java fails: Bad file descriptor
Reviewed-by: cjplummer, rschmelter, clanger
2019-06-20 07:13:06 -04:00
Lin Zang
144d81caf6 8219721: jcmd from earlier release will hang attaching to VM with JDK-8215622 applied
Fix compatibility issue caused by jmap update of 8215622

Reviewed-by: dholmes, ysuenaga, phh, sspitsyn
2019-03-11 21:26:19 -04:00
Lin Zang
6f5c009756 8215622: Add dump to file support for jmap –histo
Add "file=" to jmap "histo" jmap, Hotspot support in attachListener.cpp:heap_inspection.

Reviewed-by: phh, sspitsyn
2019-02-20 11:36:02 -08:00
Gary Adams
ec1f026392 8214300: .attach_pid files may remain in the process cwd
Reviewed-by: sspitsyn, cjplummer, jcbeyler
2018-12-04 07:06:38 -05:00
Daniil Titov
a2a5e85195 8197387: jcmd started by "root" must be allowed to access all VM processes
Reviewed-by: sspitsyn, stuefe
2018-05-31 14:09:04 -07:00
Christoph Langer
024d4eb8f4 8201247: Various cleanups in the attach framework
Reviewed-by: goetz, cjplummer
2018-04-11 09:47:41 +02:00
Gary Adams
b82f6aee37 8188856: Incorrect file path in an exception message when .java_pid is not accessible on Unix
Reviewed-by: cjplummer, sspitsyn
2018-01-02 07:50:17 -05:00
Chris Plummer
737c0cd7a5 8179498: attach in linux should be relative to /proc/pid/root and namespace aware
Map pid to namespace pid so proper tmp file name is used.

Reviewed-by: sspitsyn, dholmes
2017-09-26 10:09:54 -07:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00