75 Commits

Author SHA1 Message Date
Sergey Tsypanov
124f82377b 8268764: Use Long.hashCode() instead of int-cast where applicable
Reviewed-by: kevinw, prr, kizune, serb
2021-10-12 19:13:17 +00:00
Andrey Turbanov
d5ccfa2ae9 8274755: Replace 'while' cycles with iterator with enhanced-for in jdk.jdi
Reviewed-by: alanb, amenkov, sspitsyn, cjplummer
2021-10-07 09:38:42 +00:00
Joe Darcy
8215b2eb61 8274398: Suppress more warnings on non-serializable non-transient instance fields in management libs
Reviewed-by: sspitsyn
2021-09-30 16:58:53 +00:00
Sergey Bylokhov
7fff22afe7 8272805: Avoid looking up standard charsets
Reviewed-by: weijun, naoto, dfuchs, azvegint, erikj
2021-09-02 22:56:20 +00:00
David Holmes
ea02dade43 8272067: Initial nroff manpage generation for JDK 18
Reviewed-by: darcy
2021-08-06 03:49:34 +00:00
Jonathan Gibbons
dfacda488b 8270872: Final nroff manpage update for JDK 17
Reviewed-by: darcy, mr, iris, naoto
2021-08-05 22:12:27 +00:00
Weijun Wang
6765f90250 8266459: Implement JEP 411: Deprecate the Security Manager for Removal
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: erikj, darcy, chegar, naoto, joehw, alanb, mchung, kcr, prr, lancea
2021-06-02 11:57:31 +00:00
Fairoz Matte
82768d9a31 8221503: vmTestbase/nsk/jdb/eval/eval001/eval001.java fails with: com.sun.jdi.InvalidTypeException: Can't assign double[][][] to double[][][]
Reviewed-by: cjplummer, sspitsyn
2021-05-05 07:11:14 +00:00
Magnus Ihse Bursie
f7a6cff983 8261149: Initial nroff manpage update for JDK 17
Reviewed-by: dholmes, erikj
2021-02-04 14:37:33 +00:00
Jesper Wilhelmsson
9b7a8f1982 Merge 2021-02-04 02:06:33 +00:00
Magnus Ihse Bursie
ed1a7755c3 8258378: Final nroff manpage update for JDK 16
Reviewed-by: erikj, dholmes
2021-02-02 07:41:48 +00:00
Alex Menkov
d63388c00c 8259266: com/sun/jdi/JdbOptions.java failed with "RuntimeException: 'prop[boo] = >foo 2<' missing from stdout/stderr"
Reviewed-by: cjplummer, sspitsyn
2021-01-15 22:40:47 +00:00
Magnus Ihse Bursie
622f72bc8b 8255853: Update all nroff manpages for JDK 16 release
Reviewed-by: erikj
2020-11-03 22:12:56 +00:00
Alex Menkov
d1f9b8a8b5 8234808: jdb quoted option parsing broken
Reviewed-by: cjplummer, sspitsyn
2020-09-22 00:05:14 +00:00
Daniil Titov
65d6c10185 8252933: com.sun.tools.jdi.ObjectReferenceImpl#validateAssignment always requests referenceType
Reviewed-by: cjplummer, amenkov
2020-09-15 15:29:12 +00:00
Alex Menkov
111ba18ac6 8249550: jdb should use loopback address when not using remote agent
Reviewed-by: cjplummer, sspitsyn
2020-08-06 15:59:47 -07:00
Joe Darcy
8a9675663f 8250640: Address reliance on default constructors in jdk.jdi
Reviewed-by: alanb
2020-07-28 09:21:04 -07:00
Pavel Rappo
922ba8da30 8240777: Update all nroff manpages for JDK 15 release
Reviewed-by: dholmes
2020-07-24 17:06:35 +01:00
Mark Reinhold
55039aa1c6 8249205: Remove unnecessary trademark symbols
Reviewed-by: darcy, lancea, bpb, prr, jjg, cjplummer, iris, dfuchs, weijun, joehw, wetmore, bchristi
2020-07-15 14:21:54 -07:00
Jonathan Gibbons
9a99f511aa 8247958: minor HTML errors in com.sun.jdi
Reviewed-by: dholmes, sspitsyn
2020-06-22 09:42:42 -07:00
Jonathan Gibbons
e0a7782a9e 8247784: Bad link causes invalid documentation
Reviewed-by: mchung, dholmes, sspitsyn
2020-06-19 11:10:31 -07:00
Serguei Spitsyn
be14526569 8196450: Deprecate JDWP/JDI canUnrestrictedlyRedefineClasses to match JVM TI capabilities
Deprecate capabilities unsupported in JVM TI

Reviewed-by: dholmes, cjplummer
2020-06-06 08:13:40 +00:00
Serguei Spitsyn
1357c01e57 8245392: Remove duplication in class redefinition and retransformation specs
Remove duplications from the Instrumentation, JDI and JDWP redefinition specs

Reviewed-by: dholmes, cjplummer
2020-05-27 03:21:15 +00:00
Daniil Titov
9d4872f612 8241080: Consolidate signature parsing code in serviceability tools
Reviewed-by: sspitsyn, cjplummer
2020-05-19 09:40:21 -07:00
Serguei Spitsyn
e507405f5c 8241214: Test debugging of hidden classes using jdb
Add test and enable jdb support for hidden classes

Reviewed-by: cjplummer, amenkov, mchung, lmesnik
2020-04-23 07:46:18 +00:00
Mandy Chung
7cc1371059 8238358: Implementation of JEP 371: Hidden Classes
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jamsheed Mohammed C M <jamsheed.c.m@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Reviewed-by: alanb, cjplummer, coleenp, dholmes, dlong, forax, jlahoda, psandoz, plevart, sspitsyn, vromero
2020-04-21 06:55:38 -07:00
Henry Jen
0278846eaa Merge 2020-04-14 23:11:49 +00:00
Serguei Spitsyn
68e0e49bc8 8242241: add assert to ClassUnloadEventImpl::className
Add assert

Reviewed-by: cjplummer, dcubed
2020-04-13 18:02:13 +00:00
Egor Ushakov
76b1119f61 8241958: Slow ClassLoaderReferenceImpl.findType
Optimize ClassLoaderReferenceImpl.findType

Reviewed-by: cjplummer, sspitsyn
2020-04-07 07:24:09 +00:00
Patricio Chilano Mateo
3f698242a8 8240902: JDI shared memory connector can use already closed Handles
Add refcount to keep track of connection access

Reviewed-by: dholmes, dcubed, sspitsyn
2020-03-20 00:32:29 +00:00
Fairoz Matte
ea55699f34 8239055: Wrong implementation of VMState.hasListener
Correct the VMState.hasListener implementation to return WeakReference<VMListener> type

Reviewed-by: sspitsyn, poonam
2020-02-27 19:33:07 -08:00
Jonathan Gibbons
9ec4001d87 8237058: Update all nroff manpages for JDK 14 release
Reviewed-by: dholmes
2020-01-14 15:01:34 -08:00
Erik Joelsson
4df99aa7ae 8226346: Build better binary builders
Reviewed-by: tbell
2019-12-13 08:27:51 -08:00
Harold Seigel
73676cff72 8235360: Update JDWP, JDI and Instrumentation specs for Record attribute
Add Record to list of attributes that class redefinition cannot change

Reviewed-by: lfoltan
2019-12-05 15:45:58 +00:00
Joe Darcy
bd96098ec2 8232448: Suppress warnings on non-serializable non-transient instance fields in jdk.jdi
Reviewed-by: sspitsyn
2019-10-17 09:38:32 -07:00
Ivan Gerasimov
9898fc1382 8230303: JDB hangs when running monitor command
Reviewed-by: sspitsyn
2019-09-10 09:08:52 -07:00
Leo Jiang
0de207a5e0 8228397: Missing license copyright header in some properties files
Reviewed-by: iris, mchung, naoto
2019-07-25 15:29:50 +08:00
Leo Jiang
8c3e30202b 8227009: JDK 13 L10n resource files update - msgdrop 10
Reviewed-by: naoto
2019-07-10 01:19:18 -07:00
Jonathan Gibbons
177f031d00 8226593: Fix HTML in com/sun/jdi/doc-files/signature.html
Reviewed-by: sspitsyn, lancea
2019-06-21 12:09:07 -07:00
Jonathan Gibbons
8c5651e0f5 8225309: HTML issues in jdk.jdi module
Reviewed-by: lancea
2019-06-04 14:47:25 -07:00
Jonathan Gibbons
d2ad9dabdf 8225134: Update man-page files
Reviewed-by: erikj, mchung
2019-05-31 17:27:28 -07:00
Jonathan Gibbons
2ad2cce6e0 8223663: Update links for tool guides
Reviewed-by: alanb, erikj, darcy
2019-05-20 10:57:57 -07:00
Daniil Titov
cca7246a1a 8222422: vmTestbase/nsk/jdi/ClassLoaderReference/definedClasses tests failed with Unexpected Exception: null
Reviewed-by: dholmes, jcbeyler, cjplummer
2019-05-16 11:37:26 -07:00
Alex Menkov
e18cecafb9 8184770: JDWP support for IPv6
Reviewed-by: sspitsyn, chegar
2019-05-15 11:06:33 -07:00
Serguei Spitsyn
1c202572d5 8219023: Investigate syncing JVMTI spec version with JDK version
Auto sync versions with the jdk versions

Reviewed-by: dholmes, jcbeyler, cjplummer
2019-05-14 02:07:13 -07:00
Serguei Spitsyn
c7d102070b 8146986: JDI: Signature lookups for unprepared classes can take a long time
Do not cache classes if signature is not provided

Reviewed-by: sspitsyn, jcbeyler
2019-03-25 19:16:58 -07:00
Chris Plummer
b0eedd125f 8219143: jdb should support breakpoint thread filters
Add thread filter to stop command.

Reviewed-by: sspitsyn, amenkov
2019-02-25 18:54:40 -08:00
Harold Seigel
dd7e50dc01 8214719: Deprecate -Xverify:none option
Deprecate -Xverify:none and -noverify and remove them from tests

Reviewed-by: dholmes, mikael
2019-02-20 13:21:36 -05:00
Chris Plummer
c296f4ae0d 8218947: jdb threads command should print threadID in decimal, not hex
Print objectIDs in decimal.

Reviewed-by: sspitsyn, dholmes, jcbeyler
2019-02-19 12:05:43 -08:00
Chris Plummer
e4dc17c354 8218941: jdb should support a dbgtrace command that acts the same as the dbgtrace command line option
Added dbgtrace command.

Reviewed-by: sspitsyn, amenkov, gadams
2019-02-15 12:33:11 -08:00