152 Commits

Author SHA1 Message Date
Nick Gasson
4e09929ef9 8209413: AArch64: NPE in clhsdb jstack command
Reviewed-by: aph
2019-02-19 14:11:52 +08:00
Jini George
8b01c4b53d 8214756: SA should ignore archived java heap objects that are not in use
Ignore objects, the associated classes of which are unloaded while walking the heap to create a heapdump

Reviewed-by: jiangli, redestad
2019-02-25 13:50:32 +05:30
Stefan Karlsson
e9af7c1561 8218970: SA: Enable HeapHprofBinWriter for ZGC
Reviewed-by: eosterlund, ysuenaga
2019-02-19 10:04:44 +01:00
Stefan Karlsson
f7e7180ff4 8218922: SA: Enable best-effort implementation of live regions iteration for ZGC
Reviewed-by: eosterlund, ysuenaga
2019-02-19 10:04:28 +01:00
Stefan Karlsson
f9dfc701c8 8219003: SA: Refactor live regions iteration in preparation for JDK-8218922
Reviewed-by: eosterlund, ysuenaga
2019-02-19 10:03:41 +01:00
Stefan Karlsson
a5ec26c681 8218746: SA: Implement discontiguous bitmap for ZGC
Reviewed-by: eosterlund, jgeorge
2019-02-19 10:03:29 +01:00
Stefan Karlsson
fc881dd8fe 8218743: SA: Add support for large bitmaps
Reviewed-by: eosterlund, jgeorge
2019-02-19 10:02:54 +01:00
Stefan Karlsson
5f5c6362d9 8218734: SA: Incorrect and raw loads of OopHandles
Reviewed-by: eosterlund, coleenp, jgeorge
2019-02-19 10:02:42 +01:00
Stefan Karlsson
797122c227 8218733: SA: CollectedHeap provides broken implementation for used() and capacity()
Reviewed-by: shade, jgeorge, eosterlund
2019-02-19 10:02:00 +01:00
Stefan Karlsson
ec54717960 8218732: SA: Resolves ZPageAllocator::_physical incorrectly
Reviewed-by: eosterlund, jgeorge
2019-02-19 10:01:50 +01:00
Stefan Karlsson
e79488cc1b 8218731: SA: Use concrete class the as return type of VMObjectFactory.newObject
Reviewed-by: eosterlund
2019-02-19 10:00:51 +01:00
Yasumasa Suenaga
67dfadfcc2 8217845: SA should refer const values for JVMFlag from HotSpot
Reviewed-by: sspitsyn, jgeorge
2019-02-05 14:24:29 +09:00
Yasumasa Suenaga
49c91b7f95 8217850: CompressedClassSpaceSizeInJmapHeap fails after JDK-8217612
Reviewed-by: dholmes, cjplummer
2019-01-28 08:01:06 +09:00
Yasumasa Suenaga
d6a75a0f86 8217612: (CL)HSDB cannot show some JVM flags
Reviewed-by: dholmes, cjplummer
2019-01-26 10:34:29 +09:00
Yasumasa Suenaga
ef3336ec27 8181313: SA: Remove libthread_db dependency on Linux
Reviewed-by: jgeorge, sballal
2019-01-18 14:43:25 +09:00
Jesper Wilhelmsson
59716b0bb3 Merge 2019-01-02 16:05:13 +01:00
Kishor Kharbas
d580e2eed2 8211425: Allocation of old generation of java heap on alternate memory devices - G1 GC
8202286: Allocation of old generation of Java heap on alternate memory devices

Enable an experimental feature in HotSpot JVM to allocate old generation of G1 GC on an alternative memory device, such as NV-DIMMs.

Reviewed-by: sangheki, sjohanss
2018-12-21 08:18:59 -08:00
Matthias Baesken
e4b1f82bbd 8215411: some GetByteArrayElements calls miss corresponding Release
Reviewed-by: dholmes, jcbeyler
2018-12-19 10:30:43 +01:00
David Griffiths
9048045d20 8214226: Incorrect BCI and Line Number with jstack if the top frame is in the interpreter
Read in the bcp from r13 for the top level interpreter frames

Reviewed-by: jcbeyler, jgeorge
2018-12-13 15:11:25 +05:30
Jini George
12355f9ca8 8202884: SA: Attach/detach might fail on Linux if debugee application create/destroy threads during attaching
While doing a ptrace attach, do not attach to threads which are in the process of exiting or are zombies -- skip these threads.

Reviewed-by: jcbeyler, ysuenaga
2018-12-13 13:03:26 +05:30
Roman Kennke
8b62a2ee9d 8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
Co-authored-by: Christine Flood <chf@redhat.com>
Co-authored-by: Aleksey Shipilev <shade@redhat.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Zhenygu Gu <zgu@redhat.com>
Co-authored-by: Andrew Haley <aph@redhat.com>
Co-authored-by: Andrew Dinn <adinn@redhat.com>
Co-authored-by: Mario Torre <mtorre@redhat.com>
Reviewed-by: kvn, roland, shade, coleenp, lmesnik, pliden, jgeorge, ihse, erikj
2018-12-10 15:47:44 +01:00
Thomas Schatzl
b1c5e310ac 8193312: Rename VM_CGC_Operation to VM_G1Concurrent
Reviewed-by: pliden, sjohanss, jgeorge
2018-12-06 13:55:22 +01:00
Jini George
ea532aa075 8213323: sa/TestJmapCoreMetaspace.java and sa/TestJmapCore.java fail with ZGC
Avoid creating the hprof file and throw an exception in HeapHprofBinWriter for ZGC and handle this in the TestJmap* testcases

Reviewed-by: gadams, jcbeyler, cjplummer
2018-12-04 11:10:19 +05:30
Yasumasa Suenaga
a2bbc9c091 8214499: SA should follow 8150689
Reviewed-by: dholmes, jgeorge
2018-11-30 20:15:25 +09:00
Matthias Baesken
679f30ebc3 8214373: adjust usage of ReleaseLongArrayElements in MacosxDebuggerLocal
Reviewed-by: stuefe, jcbeyler
2018-11-27 15:56:10 +01:00
Ioi Lam
147fc3ed13 8213346: Re-implement shared dictionary using CompactHashtable
Reviewed-by: jiangli
2018-11-07 19:40:27 -08:00
Bob Vandette
05027c124c 8209093: JEP 340: One AArch64 Port, Not Two
Reviewed-by: dholmes, erikj, mikael, shade, avoitylov, bulasevich
2018-10-30 10:39:19 -04:00
Pavel Rappo
01a3fec4cb 8212001: Verify exported symbols in java.base (libjava)
Reviewed-by: chegar
2018-10-11 14:10:13 +01:00
Harold Seigel
221005a3d4 8209138: Symbol constructor uses u1 as the element type of its name argument
Maske u1 the type for Symbol values and add a function to return it as a char.

Reviewed-by: dholmes, coleenp
2018-10-03 09:46:46 -04:00
Jini George
794a0e072d 8210836: Build fails with warn_unused_result in openjdk/src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c
Read in and process the return value of pread() while dealing with the PT_INTERP segment

Reviewed-by: stuefe, jcbeyler
2018-09-18 23:20:17 +05:30
Per Lidén
fd2acd9284 8209163: SA: Show Object Histogram asserts with ZGC
Reviewed-by: ysuenaga, jcbeyler
2018-09-14 14:44:11 +02:00
Magnus Ihse Bursie
8cc7ce2c18 6657100: Rename sparcWorks to solstudio in HotSpot
Reviewed-by: erikj, dcubed
2018-08-31 09:37:03 +02:00
Coleen Phillimore
3559b6be76 8209958: Clean up duplicate basic array type statics in Universe
Reviewed-by: lfoltan, zgu
2018-08-28 18:17:01 -04:00
Jini George
b4530e2447 8204308: SA: serviceability/sa/TestInstanceKlassSize*.java fails when running in CDS mode
Use longs instead of ints while computing the identity hash of klass symbols

Reviewed-by: coleenp, lfoltan
2018-08-27 10:25:13 +05:30
Severin Gehwolf
1ab91ea928 8208091: SA: jhsdb jstack --mixed throws UnmappedAddressException on i686
Be sure to use the same register index in native and Java code.

Reviewed-by: sballal, cjplummer, tbell
2018-07-23 18:08:46 +02:00
Thomas Schatzl
6f880d7f48 8209062: Clean up G1MonitoringSupport
Reviewed-by: phh, sangheki
2018-08-22 20:37:07 +02:00
Thomas Schatzl
8e264e259d 8208498: Put archive regions into a first-class HeapRegionSet
Maintain archive regions in a HeapRegionSet like other region types.

Reviewed-by: phh, sangheki
2018-08-22 20:37:07 +02:00
Ioi Lam
73951ab5d9 8209657: Refactor filemap.hpp to simplify integration with Serviceability Agent
Added src/hotspot/share/include/cds.h

Reviewed-by: ccheung, sspitsyn, jgeorge
2018-08-17 13:53:53 -07:00
Lois Foltan
75ed173e15 8209301: JVM rename is_anonymous, host_klass to unsafe specific terminology ahead of Unsafe.defineAnonymousClass deprecation
Clean up VM anonymous class terminology.

Reviewed-by: coleenp, dholmes, mchung
2018-08-20 08:25:57 -04:00
Yasumasa Suenaga
f45dc7748e 8205992: jhsdb cannot attach to Java processes running in Docker containers
Reviewed-by: cjplummer, jgeorge
2018-07-27 00:54:39 +09:00
Coleen Phillimore
39dd04b953 8207359: Make SymbolTable increment_refcount disallow zero
Use cmpxchg for non permanent symbol refcounting, and pack refcount and length into an int.

Reviewed-by: gziemski, kbarrett, iklam
2018-07-20 14:52:11 -04:00
Coleen Phillimore
c0ebf80159 8205534: Remove SymbolTable dependency from serviceability agent
Reviewed-by: gziemski, poonam, jgeorge, hseigel
2018-07-03 13:41:18 -04:00
Jini George
93314be3c2 8189429: SA: MacOSX: Replace the deprecated PT_ATTACH with PT_ATTACHEXC
Avoid the waitpid() and receive, handle and reply to the incoming Mach exception message obtained with PT_ATTACHEXC.

Reviewed-by: sballal, erikj, gziemski, rwestberg, dholmes, dcubed, poonam, dsamersoff
2018-06-27 20:04:31 +05:30
Roland Westrelin
724e41cbb6 8204240: Extend MDO to allow more reasons to be recorded per bci
Reviewed-by: kvn, neliasso
2018-06-11 15:28:24 +02:00
Yasumasa Suenaga
390487c14d 8204531: Remove unused chars following '\0'
Reviewed-by: dholmes, stuefe
2018-06-14 16:56:58 +09:00
Per Lidén
e7af7a4aef 8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Coleen Phillimore <coleen.phillimore@oracle.com>
Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Co-authored-by: Gerard Ziemski <gerard.ziemski@oracle.com>
Co-authored-by: Hugh Wilkinson <hugh.wilkinson@intel.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Co-authored-by: Bill Wheeler <bill.npo.wheeler@intel.com>
Co-authored-by: Vinay K. Awasthi <vinay.k.awasthi@intel.com>
Co-authored-by: Yasumasa Suenaga <yasuenag@gmail.com>
Reviewed-by: pliden, stefank, eosterlund, ehelin, sjohanss, rbackman, coleenp, ihse, jgeorge, lmesnik, rkennke
2018-06-12 17:40:28 +02:00
Aleksey Shipilev
a1518ac9b2 8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
Introduce Epsilon GC

Reviewed-by: rkennke, ihse, pliden, eosterlund, lmesnik, jgeorge, stefank
2018-06-12 15:03:00 +02:00
Calvin Cheung
cc4dcf32d3 8204110: serviceability/sa/ClhsdbSymbol.java and ClhsdbInspect.java failed when running in CDS mode
ClhsdbSymbol - added printing of symbols from shared table. ClhsdbInspect - find type via FileMapInfo if guessTypeForAddress returns null and sharing is enabled.

Reviewed-by: jgeorge, sspitsyn, iklam
2018-06-08 11:04:58 -07:00
Robbin Ehn
66f8951e15 8195097: Make it possible to process StringTable outside safepoint
Reviewed-by: coleenp, gziemski, iklam, jiangli
2018-06-07 14:11:56 +02:00
Sharath Ballal
b9a55926f3 8203689: Add failure code to threaddb exception messages`
Reviewed-by: sspitsyn, cjplummer
2018-05-25 15:34:45 +05:30