488 Commits

Author SHA1 Message Date
Daniil Titov
aebc856c44 8194874: SA: Remove scripts with sa-jdi.jar dependencies
Reviewed-by: cjplummer, amenkov
2020-05-11 10:29:13 -07:00
Chris Plummer
6911667eb7 8243500: SA: Incorrect BCI and Line Number with jstack if the top frame is in the interpreter (BSD and Windows)
Reviewed-by: amenkov, sspitsyn
2020-04-28 13:38:45 -07:00
Chris Plummer
5d2740b524 8231634: SA stack walking fails with "illegal bci"
Reviewed-by: amenkov, sspitsyn
2020-04-28 13:35:46 -07:00
Coleen Phillimore
90ada6a314 8238048: Close alignment gaps in InstanceKlass
Moved fields around and some constant fields into ConstantPool

Reviewed-by: cjplummer, dlong, iklam
2020-04-23 16:29:22 -04:00
Yasumasa Suenaga
8d388381ee 8243450: Remove VMOps from jdk.hotspot.agent
Reviewed-by: cjplummer, dholmes
2020-04-23 12:14:58 +09:00
Chris Plummer
7f634155b5 8243210: ClhsdbScanOops fails with NullPointerException in FileMapHeader.inCopiedVtableSpace
Reviewed-by: iklam, sspitsyn
2020-04-22 15:09:32 -07: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
Magnus Ihse Bursie
93032c637b 8242943: Fix all remaining unchecked warnings in jdk.hotspot.agent
Reviewed-by: darcy, sspitsyn, dholmes
2020-04-21 13:55:23 +02:00
Chris Plummer
a4d318c92c 8242787: sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java fails with sun.jvm.hotspot.types.WrongTypeException
Reviewed-by: amenkov, sspitsyn, iklam
2020-04-17 10:09:06 -07:00
Chris Plummer
c6c1f9bad9 8230731: SA tests fail with "Windbg Error: ReadVirtual failed
Reviewed-by: amenkov, sspitsyn
2020-04-16 07:23:26 -07:00
Magnus Ihse Bursie
3cc1fdf2b6 8242808: Fix all remaining deprecation warnings in jdk.hotspot.agent
Reviewed-by: sspitsyn
2020-04-16 12:54:29 +02:00
Magnus Ihse Bursie
d295762f4c 8242804: Fix trivial deprecation issues in jdk.hotspot.agent
Reviewed-by: dholmes, erikj, darcy
2020-04-16 12:51:52 +02:00
Magnus Ihse Bursie
d983fa6ca3 8242629: Remove references to deprecated java.util.Observer and Observable
Reviewed-by: erikj, cjplummer, sspitsyn
2020-04-15 09:35:27 +02:00
Magnus Ihse Bursie
b0d709cc23 8241618: Fix trivial unchecked warnings for jdk.hotspot.agent
Reviewed-by: cjplummer, sspitsyn
2020-04-15 08:58:03 +02:00
Chris Plummer
4a09f31eff 8237250: pmap and pstack should do a better of making it clear that they are not supported on Mac OS X
Reviewed-by: amenkov, sspitsyn
2020-04-13 16:30:11 -07:00
Chris Plummer
77041dc4ec 8235220: ClhsdbScanOops.java fails with sun.jvm.hotspot.types.WrongTypeException
Reviewed-by: amenkov, iklam
2020-04-13 13:21:56 -07:00
Chris Plummer
3a0a3d21d0 8184249: SA: clhsdb 'intConstant' throws a NullPointerException when not attached to a VM
Reviewed-by: amenkov
2020-04-10 14:00:49 -07:00
Chris Plummer
e0a75ed00d 8242162: convert clhsdb "sysprops" command from javascript to java
Reviewed-by: sspitsyn, ysuenaga
2020-04-09 07:13:49 -07:00
Chris Plummer
d1091364aa 8240990: convert clhsdb "dumpclass" command from javascript to java
Reviewed-by: sspitsyn, ysuenaga
2020-04-08 21:01:01 -07:00
Chris Plummer
ccd2a16c58 8242165: SA sysprops support fails to dump all system properties
Reviewed-by: sspitsyn, ysuenaga
2020-04-07 18:32:55 -07:00
Chris Plummer
9fb91b4e9c 8242142: convert clhsdb "class" and "classes" commands from javascript to java
Reviewed-by: sspitsyn, amenkov
2020-04-07 16:31:46 -07:00
Chris Plummer
965404dd98 8240989: convert clhsdb "dumpheap" command from javascript to java
Reviewed-by: amenkov, ysuenaga
2020-04-03 12:58:15 -07:00
Aleksey Shipilev
6df2370120 8241844: Shenandoah: rename ShenandoahHeapRegion::region_number
Reviewed-by: rkennke
2020-03-30 19:38:31 +02:00
Yasumasa Suenaga
67cf35ee22 8240956: SEGV in DwarfParser::process_dwarf after JDK-8234624
Reviewed-by: sspitsyn, kevinw
2020-03-27 17:07:23 +09:00
Aleksey Shipilev
8c5531b629 8241668: Shenandoah: make ShenandoahHeapRegion not derive from ContiguousSpace
Reviewed-by: rkennke
2020-03-26 19:08:30 +01:00
Daniil Titov
54e2c6fe3e 8196751: Add jhsdb option to specify debug server RMI connector port
Reviewed-by: sspitsyn, ysuenaga
2020-03-26 09:03:52 -07:00
Coleen Phillimore
6dffcf7533 8241320: The ClassLoaderData::_is_unsafe_anonymous field is unused in the SA
Remove unused code that is changing in Hotspot for hidden classes.

Reviewed-by: lfoltan, dholmes, sspitsyn
2020-03-20 07:30:52 -04:00
Vladimir Kozlov
ec5bd02186 8240976: [JVMCI] MethodProfileWidth flag is broken
Remove JVMCI code which is not used

Reviewed-by: thartmann, redestad
2020-03-17 10:38:40 -07:00
Alex Menkov
3aeb2d1a51 8217441: Failure of ::realloc() should be handled correctly in sawindbg.cpp
Reviewed-by: cjplummer, sspitsyn
2020-03-13 12:25:25 -07:00
Yasumasa Suenaga
069d9e792e 8234624: jstack mixed mode should refer DWARF
Reviewed-by: sspitsyn, kevinw
2020-03-12 09:23:05 +09:00
Lin Zang
0a820d6d21 8239916: SA: delete dead code in jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/ObjectHeap.java
Reviewed-by: stefank
2020-02-29 14:43:09 +08:00
Matthias Baesken
dd393fadc4 8239462: jdk.hotspot.agent misses some ReleaseStringUTFChars calls in case of early returns
Reviewed-by: clanger, amenkov, sspitsyn
2020-02-24 09:59:31 +01:00
Claes Redestad
58a5910393 8239347: Refactor Symbol to make _length a standalone field again
Reviewed-by: iklam, coleenp
2020-02-20 13:18:30 +01:00
Matthias Baesken
0e49c4987d 8239224: libproc_impl.c previous_thr may be used uninitialized warning
Reviewed-by: clanger, dholmes
2020-02-18 16:33:56 +01:00
Alex Menkov
90d656d2f6 8235846: Improve WindbgDebuggerLocal implementation
Reviewed-by: sspitsyn, cjplummer
2020-01-24 11:55:15 -08:00
Ioi Lam
d5bdb76e84 8236236: Eliminate CDS md region and consolidate c++ vtable patching code
Reviewed-by: ccheung
2020-01-22 11:52:27 -08:00
Jesper Wilhelmsson
d34f561de0 Merge 2020-01-15 20:41:46 +01:00
Jonathan Gibbons
9ec4001d87 8237058: Update all nroff manpages for JDK 14 release
Reviewed-by: dholmes
2020-01-14 15:01:34 -08:00
Mikael Vidstedt
b63b9a2edb 8237182: Update copyright header for shenandoah and epsilon files
Reviewed-by: iignatyev, zgu
2020-01-14 19:27:03 -08:00
Yasumasa Suenaga
1e67b2c457 8235637: jhsdb jmap from OpenJDK 11.0.5 doesn't work if prelink is enabled
Error handling for "lib_base_diff == 0"

Reviewed-by: ysuenaga, cjplummer, kevinw
2019-12-24 04:47:44 -05:00
Chris Plummer
b2c3323a7f 8236062: Disable clhsdb initialization of SA javascript support since it will always fail, and will likely be removed soon
Reviewed-by: amenkov, ysuenaga
2019-12-17 20:19:49 -08:00
David Holmes
ec51784c0d 8215355: Object monitor deadlock with no threads holding the monitor (using jemalloc 5.1)
Reviewed-by: rehn, stuefe, dcubed, sspitsyn
2019-11-18 23:41:06 -05:00
Ioi Lam
5678f98a9e 8231610: Relocate the CDS archive if it cannot be mapped to the requested address
Reviewed-by: jiangli, coleenp, ccheung
2019-11-13 16:36:54 -08:00
Chris Plummer
111a0ae5fb 8231635: SA Stackwalking code stuck in BasicTypeDataBase.findDynamicTypeForAddress()
Better checking for invalid stack address when walking the stack frames

Reviewed-by: sspitsyn, dtitov
2019-11-13 13:05:16 -08:00
Leo Korinth
1fc67ab002 8232365: Implementation for JEP 363: Remove the Concurrent Mark Sweep (CMS) Garbage Collector
Reviewed-by: kbarrett, tschatzl, erikj, coleenp, dholmes
2019-11-13 11:37:29 +01:00
Thomas Schatzl
c4b3dcf8c1 8189737: Make HeapRegion not derive from Space
Reviewed-by: sjohanss, kbarrett
2019-11-08 10:01:13 +01:00
Yasumasa Suenaga
2e72b249ee 8233285: Demangling C++ symbols in jhsdb jstack --mixed
Reviewed-by: cjplummer, sspitsyn, ihse
2019-11-04 22:31:59 +09:00
Simon Tooke
a7023d7c88 8232973: Potential infinite loop in macOS hotspot agent
Reviewed-by: stuefe, cjplummer, sspitsyn
2019-11-04 13:58:33 +01:00
David Holmes
1d50b2761c 8229516: Thread.isInterrupted() always returns false after thread termination
Reviewed-by: dnsimon, sspitsyn, dcubed, alanb
2019-11-03 18:02:29 -05:00
Mark Reinhold
d83df45396 8232080: jlink plugins for vendor information and run-time options
Reviewed-by: ihse, alanb, kvn, bobv, mchung
2019-10-29 08:26:55 -07:00