59 Commits

Author SHA1 Message Date
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
Erik Gahlin
a060be188d 8199712: Flight Recorder
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, ihse, erikj, dsamersoff, mseledtsov, egahlin, mgronlun
2018-05-15 20:24:34 +02:00
Jini George
747f934ca7 8195613: [SA] HotSpotTypeDataBase.readVMLongConstants truncates values to int
Avoid truncation to int while reading in long constants from vmStructs. Modify ClhsdbLongConstant.java for truncation testing.

Reviewed-by: dholmes, sspitsyn, cjplummer
2018-05-15 02:47:40 +05:30
Jini George
b812ae6e51 8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
Make SA aware of the new _nofast* (rewritten during CDS dump time) bytecodes.

Reviewed-by: iklam, cjplummer
2018-05-12 17:22:56 +05:30
Matthias Baesken
3ff52c18c6 8202200: set INCLUDE_SA to false on s390x by default
Reviewed-by: ihse, erikj, jgeorge
2018-04-24 17:56:25 +02:00
Gerard Ziemski
edc81d17e1 8202150: [REDO] Split globals.hpp to factor out the Flag class
Factored out Flag out go globals, renamed to JVMFlag

Reviewed-by: coleenp, dholmes, kvn
2018-04-26 11:19:05 -05:00
Jini George
ccc74fdd60 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
Read in the md region of the CDS archive in SA and map the vtable addresses to the corresponding metadata type.

Reviewed-by: iklam, coleenp, ysuenaga, dholmes
2018-04-26 12:25:36 +05:30
Gerard Ziemski
816e2e5fe0 8202151: [BACKOUT] Split globals.hpp to factor out the Flag class
Backed out JDK-8081519

Reviewed-by: kvn
2018-04-23 14:51:16 -05:00
Gerard Ziemski
60723b7e3d 8081519: Split globals.hpp to factor out the Flag class
Factored out Flag out go globals, renamed to JVMFlag

Reviewed-by: coleenp, dholmes, kvn
2018-04-23 10:59:39 -05:00
Coleen Phillimore
ddfd4c33c6 8201556: Disallow reading oops in ClassLoaderData if unloading
Move class_loader oop to an OopHandle, and assert that holder is alive when getting class_loader.

Reviewed-by: kbarrett, adinn
2018-04-18 18:43:04 -04:00
Jesper Wilhelmsson
82847e4ec0 Merge 2018-04-06 03:53:28 +02:00
Per Lidén
3b7962d614 8199918: Shorten names of CollectedHeap::Name members
Reviewed-by: shade, eosterlund
2018-03-28 11:38:47 +02:00
Jesper Wilhelmsson
aa69f8c75c Merge 2018-03-24 01:08:35 +01:00
Magnus Ihse Bursie
89f6ccb93e 8200178: Remove mapfiles for JDK native libraries
Reviewed-by: erikj, alanb, mchung, prr, weijun
2018-03-28 23:56:08 +02:00
Jesper Wilhelmsson
7ffa43700f Merge 2018-03-24 01:08:35 +01:00
Jesper Wilhelmsson
1155614f99 Merge 2018-03-20 04:36:44 +01:00
Magnus Ihse Bursie
3522b53f7b 8199682: Clean up building the saproc library
Reviewed-by: erikj, dholmes, sundar
2018-03-21 12:54:36 +01:00
Jini George
9d036d6dd2 8175312: SA: clhsdb: Provide an improved heap summary for 'universe' for G1GC
Provide an improved heap summary for G1GC with parameters like 'capacity', 'used', 'free', etc with the 'universe' command, and introduce a new command 'g1regiondetails' to display the individual region details.

Reviewed-by: sjohanss, minqi
2018-03-20 11:24:32 +05:30
Stefan Johansson
38dcf9fdf1 8198420: Remove unused extension point AllocationContextStats
Reviewed-by: ehelin, tschatzl
2018-02-23 09:38:33 +01:00
Stefan Karlsson
5671589a10 8198528: Move GenerationSpecs from GenCollectorPolicy to GenCollectedHeap
Reviewed-by: pliden, sjohanss, kbarrett
2018-02-22 18:37:23 +01:00
Yasumasa Suenaga
8680d7da99 8199323: hsdis could not be loaded which are located on long path
Reviewed-by: dholmes, stuefe
2018-03-14 00:30:56 +09:00
Jini George
41a54f3f49 8175384: SA: clhsdb 'printall' throws ClassCastException while printing out the bytecodes
While resolving the method invoked by invokevirtual, use java.lang.Object for arrays

Reviewed-by: dholmes, sspitsyn
2018-02-09 12:09:21 +05:30
Paul Sandoz
e55a05957d 8186209: Tool support for ConstantDynamic
8186046: Minimal ConstantDynamic support
8190972: Ensure that AOT/Graal filters out class files containing CONSTANT_Dynamic ahead of full AOT support

Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: acorn, coleenp, kvn
2017-09-08 10:46:46 -07:00
Yasumasa Suenaga
9ab8cd5bc2 8194249: SA: G1HeapRegionTable#getByAddress() returns incorrect HeapRegion
Fix conversion of addresses to HeapRegions.

Reviewed-by: jgeorge, tschatzl
2018-01-31 11:35:42 +01:00
Jesper Wilhelmsson
d679703c0b Merge 2018-01-30 16:41:40 +01:00
Jesper Wilhelmsson
fc1b01b9a2 Merge 2018-01-13 02:56:22 +01:00
Jini George
906712e7c8 8193352: SA: Test for the clhsdb 'thread' and 'threads' commands
Test for the clhsdb 'thread' and 'threads' commands. Avoids an incorrect 'Couldn't find thread -a' being printed.

Reviewed-by: sspitsyn, sballal
2018-01-11 11:35:35 +05:30
Yasumasa Suenaga
869aa96aa3 8192897: NPE occurs on clhsdb jstack
Reviewed-by: dholmes, sspitsyn, jgeorge, sballal
2017-12-04 10:23:08 +09:00
Yasumasa Suenaga
6311c909f6 8190837: BasicType and BasicTypeSize should refer to HotSpot values
Reviewed-by: dholmes, jgeorge
2017-12-01 10:04:31 +09:00
Jini George
42d3f8d610 8191324: SA cleanup -- part 2
Avoid redefinition of hotspot constants and ia64 code vestiges removal

Reviewed-by: sspitsyn, dholmes, coleenp
2017-11-30 21:24:52 +05:30
Sharath Ballal
f684b1a856 8184982: SA: Running ClassDump on a simple java program generates NullPointerException
Reviewed-by: sundar, jgeorge
2017-11-30 14:58:41 +05:30
Kim Barrett
e1356ec6cf 8194312: Support parallel and concurrent JNI global handle processing
Add OopStorage, change JNI gloabl/weak to use OopStorage.

Reviewed-by: coleenp, sspitsyn, eosterlund
2017-11-21 09:47:55 -05:00
Yasumasa Suenaga
627a32d672 8185796: jstack and clhsdb jstack should show lock objects
Modifications to display monitor details with SA jstack

Reviewed-by: sspitsyn, jgeorge
2017-11-27 11:20:38 +05:30
Stefan Johansson
6929e0f05a 8186571: Implementation: JEP 307: Parallel Full GC for G1
Improve G1 worst-case latencies by making the full GC parallel.

Reviewed-by: tschatzl, sangheki, ehelin
2017-11-14 11:33:23 +01:00
Roman Kennke
04e375658c 8183542: Factor out serial GC specific code from GenCollectedHeap into its own subclass
Reviewed-by: kbarrett, jgeorge
2017-10-25 10:05:17 +02:00
Jini George
02b4fc7985 8189798: SA cleanup - part 1
Avoid varible redefinitions in SA, modify SA varible names to match hotspot ones

Reviewed-by: sspitsyn, coleenp, sballal
2017-11-09 12:12:32 +05:30
Coleen Phillimore
df4f3bc82e 8190617: test/jdk/sun/tools/jhsdb/BasicLauncherTest.java fails
Change type expected by SA for PerfMemory::_initialize to int.

Reviewed-by: dholmes, sspitsyn
2017-11-03 07:44:13 -04:00
Coleen Phillimore
e57652bb8e 8190491: SA tests failed after 8189610 changes
Change maxLength to an IntField

Reviewed-by: hseigel, jiangli
2017-11-01 19:43:13 -04:00
Roman Kennke
82fcfbfbc4 8189373: jmap -heap exited with error code
Add CMSHeap related bits to SA code

Reviewed-by: dholmes, jgeorge
2017-10-19 20:48:31 -04:00
Jini George
e8fe842a41 8184042: several serviceability/sa tests timed out on MacOS X
Restore the ptrace attach argument to PT_ATTACH from PT_ATTACHEXC

Reviewed-by: dholmes, sspitsyn, dcubed, poonam, dsamersoff
2017-10-16 23:23:27 -07:00
Yasumasa Suenaga
ccbf029d2b 8189069: regression after push of 8187403: "AssertionFailure: addr should be OopHandle"
Reviewed-by: sspitsyn, jgeorge
2017-10-11 23:29:24 +09:00
Serguei Spitsyn
70bbf43808 Merge 2017-10-09 07:08:53 +00:00
Yasumasa Suenaga
72ef94f770 8187403: [Unknown generation] is shown in Stack Memory on HSDB
Reviewed-by: sspitsyn, jgeorge
2017-10-07 22:45:12 +09:00
Yasumasa Suenaga
b1a725dff0 8187401: Java Stack cannot be shown on HSDB
Reviewed-by: sspitsyn, jgeorge
2017-10-07 22:42:35 +09:00