62 Commits

Author SHA1 Message Date
Erik Österlund
57b792cba2 8248216: JFR: Unify handling of all OopStorage instances in LeakProfiler root processing
Reviewed-by: mgronlun, stefank
2020-06-26 13:20:12 +00:00
Stefan Karlsson
77bdc30650 8247470: Fix CHeap GrowableArray NMT accounting
Reviewed-by: coleenp, tschatzl, kbarrett
2020-06-16 09:37:53 +02:00
Markus Grönlund
83d0318ea1 8239024: Kitchensink24HStress.java failed due to timeout
Reviewed-by: egahlin
2020-06-11 10:56:59 +02:00
Markus Grönlund
0228a5c767 8245113: JFR Recorder Thread to run in thread state "_thread_in_native"
Reviewed-by: egahlin
2020-06-11 10:48:35 +02:00
Coleen Phillimore
498b0e61ed 8246340: Move SystemDictionary GC roots into OopStorage
Use vm_global() OopStorage for system dictionary roots

Reviewed-by: eosterlund, lfoltan
2020-06-05 09:55:31 -04:00
Markus Grönlund
c66bef0289 8233705: Let artifact iteration running time be a function of incrementally tagged artifacts
Reviewed-by: egahlin
2020-06-05 15:11:44 +02:00
Erik Gahlin
50f24ca0cb 8227559: JFR: Slow dump with path-to-gc-roots=true
Reviewed-by: mgronlun
2020-05-22 16:55:13 +02:00
Erik Gahlin
040d70c155 8238592: JFR: Crash when dumping paths to gc roots on deep heaps
Reviewed-by: mgronlun
2020-05-21 04:09:18 +02:00
Erik Gahlin
9fe4b69c1a 8235921: jdk/jfr/event/oldobject/TestLargeRootSet.java times out with debug bits
Reviewed-by: mgronlun
2020-05-21 01:36:46 +02:00
Claes Redestad
c2780c9556 8244550: Unsafe::allocateInstance does redundant transitions
Reviewed-by: coleenp, mchung, dholmes
2020-05-07 14:09:20 +02: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
Zhengyu Gu
e53ae5ae63 8242216: ObjectSampler::weak_oops_do() should not trigger barrier
Reviewed-by: rkennke, eosterlund
2020-04-07 10:43:15 -04:00
Tony Printezis
f2fb5c54ae 8239497: SEGV in EdgeUtils::field_name_symbol(Edge const&)
Reviewed-by: egahlin, tonyp
2020-03-18 12:00:19 +01:00
Jesper Wilhelmsson
89e9ae9b3c Merge 2020-02-05 03:24:41 +01:00
Markus Grönlund
953fbd2e66 8236743: JFR: assert(klass != __null) failed: invariant in ObjectSampleCheckpoint::add_to_leakp_set
Reviewed-by: egahlin
2020-01-31 12:17:55 +01:00
Stefan Karlsson
46423b0f70 8237637: Remove dubious type conversions from oop
Reviewed-by: kbarrett, dholmes, mdoerr
2020-01-24 09:27:07 +01:00
Sangheon Kim
c26aa638a1 8234173: assert(loader != __null && oopDesc::is_oop(loader)) failed: loader must be oop
Reviewed-by: kbarrett, egahlin, tschatzl
2020-01-16 13:19:55 -08:00
Markus Grönlund
ffdf1dea9b 8235390: JfrEmergencyDump::on_vm_shutdown crashes
Reviewed-by: egahlin
2019-12-20 16:04:34 +01:00
Erik Österlund
97ce13767a 8235654: JFR leak profiler should not trace through the StringTable
Reviewed-by: stefank, coleenp, kbarrett, egahlin
2019-12-11 16:45:08 +00:00
Zhengyu Gu
dd758e2a84 8235685: Shenandoah: Enable leak profiler
Reviewed-by: rkennke
2019-12-10 20:20:18 -05:00
Erik Österlund
c2bce5e902 8235174: ZGC: Add support for JFR leak profiler
Reviewed-by: stefank, mgronlun, egahlin
2019-12-10 13:50:10 +00:00
Coleen Phillimore
8846a8043d 8212160: JVMTI agent crashes with "assert(_value != 0LL) failed: resolving NULL _value"
Add local deferred event list to thread to post events outside CodeCache_lock.

Reviewed-by: eosterlund, dholmes, sspitsyn
2019-12-05 16:57:17 -05:00
Robbin Ehn
3d7d54b145 8234086: VM operation can be simplified
Reviewed-by: kbarrett, dholmes, dcubed
2019-11-29 12:09:25 +01:00
Stefan Karlsson
0ad50c2b5c 8234740: Harmonize parameter order in Atomic - cmpxchg
Reviewed-by: rehn, dholmes
2019-11-25 12:33:15 +01:00
Erik Gahlin
0cdb4d19f3 8226897: Provide object age with JFR OldObjectSample event
Reviewed-by: mgronlun, mseledtsov
2019-11-24 01:03:33 +01:00
Coleen Phillimore
ed21b56269 8233913: Remove implicit conversion from Method* to methodHandle
Fix call sites to use existing THREAD local or pass down THREAD local for shallower callsites. Make linkResolver methods return Method* for caller to handleize if needed.

Reviewed-by: iklam, thartmann, hseigel
2019-11-13 08:23:23 -05:00
Markus Grönlund
8addc1418a 8226511: Implement JFR Event Streaming
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Mikhailo Seledtsov <mikhailo.seledtsov@oracle.com>
Reviewed-by: egahlin, mseledtsov, mgronlun
2019-10-30 19:43:52 +01:00
Markus Grönlund
0f2eb3ad85 8225797: OldObjectSample event creates unexpected amount of checkpoint data
Reviewed-by: egahlin
2019-09-14 14:40:09 +02:00
Erik Österlund
d19e6eae9e 8229189: Improve JFR leak profiler tracing to deal with discontiguous heaps
Reviewed-by: mgronlun, egahlin
2019-09-05 08:26:44 +02:00
Markus Grönlund
8f9d63df41 8229437: assert(is_aligned(ref, HeapWordSize)) failed: invariant
Reviewed-by: egahlin
2019-09-02 13:57:15 +02:00
Stefan Karlsson
a3d6be2b2d 8229838: Rename markOop files to markWord
Reviewed-by: dholmes, rehn
2019-08-19 11:30:03 +02:00
Stefan Karlsson
ae5615c614 8229258: Rework markOop and markOopDesc into a simpler mark word value carrier
Reviewed-by: rkennke, coleenp, kbarrett, dcubed
2019-08-06 10:48:21 +02:00
Mikael Vidstedt
2e6e33eba1 Merge 2019-08-05 16:27:30 -07:00
Markus Grönlund
946d2b3197 8228834: Regression caused by JDK-8214542 not installing complete checkpoint data to candidates
Reviewed-by: egahlin
2019-08-02 10:43:30 +02:00
Kim Barrett
e396e38bb3 8227653: Add VM Global OopStorage
Replaced conditional JVMCI global storage with VM global storage.

Reviewed-by: tschatzl, lfoltan, kvn
2019-07-18 14:57:32 -04:00
Markus Grönlund
f5a2730b48 8214542: JFR: Old Object Sample event slow on a deep heap in debug builds
Reviewed-by: egahlin, rwestberg
2019-07-03 11:34:46 +02:00
Markus Grönlund
6e16ff4cea 8225706: JFR RootResolver resets CLD claims with no restore
Reviewed-by: zgu, egahlin
2019-07-02 14:31:43 +02:00
Coleen Phillimore
204059634d 8223657: Remove unused THREAD argument from SymbolTable functions
Also made lookup and lookup_only functions private to SymbolTable.  External callers use new_symbol or probe.

Reviewed-by: dholmes, gziemski
2019-05-14 11:29:18 -04:00
Stefan Karlsson
c90f3ee68b 8223624: Cleanup includes of universe.hpp
Reviewed-by: coleenp, lkorinth
2019-05-09 14:28:30 +02:00
Vladimir Kozlov
e9c523ae5f 8220623: [JVMCI] Update JVMCI to support JVMCI based Compiler compiled into shared library
Reviewed-by: dnsimon, never, stefank, rehn, neliasso, dholmes, kbarrett, coleenp
2019-05-01 12:31:29 -07:00
Coleen Phillimore
6fb8502b77 8074355: make MutexLocker smarter about non-JavaThreads
Use safepoint_check_always/safepoint_check_never instead of safepoint_check_sometimes for locks that are taken by JavaThreads and non-JavaThreads

Reviewed-by: dholmes, rehn, dcubed, lmesnik
2019-05-01 08:56:38 -04:00
Coleen Phillimore
154a1a02bf 8216167: Update include guards to reflect correct directories
Use script and some manual fixup to fix directores names in include guards.

Reviewed-by: lfoltan, eosterlund, kbarrett
2019-01-10 15:13:51 -05:00
Coleen Phillimore
1509c1ffe1 8215731: Move forward class definitions out of globalDefinitions.hpp
Redistribute the forward declarations to the header files that need them.

Reviewed-by: dholmes, lfoltan
2019-01-04 15:06:01 -05:00
Erik Gahlin
a3ca6f482e 8215175: Inconsistencies in JFR event metadata
Reviewed-by: mgronlun
2018-12-13 14:21:04 +01:00
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
528361f7ae 8214850: Rename vm_operations.?pp files to vmOperations.?pp files
Reviewed-by: dholmes, coleenp
2018-12-06 15:44:40 +01:00
Erik Gahlin
afdb850f87 8205516: JFR tool
Reviewed-by: mgronlun
2018-12-05 16:40:12 +01:00
Coleen Phillimore
dce8ff4dba 8213751: ClassLoaderDataGraph::cld_do() should sometimes require CLDG_lock
Add version of loaded_cld_do for runtime calls.

Reviewed-by: eosterlund, rehn
2018-11-16 07:30:40 -05:00
Dean Long
a9ae141836 8212605: Pure-Java implementation of AccessController.doPrivileged
Reviewed-by: dholmes, mullan, vlivanov, mchung, alanb, rriggs
2018-11-06 16:04:50 -08:00
Erik Österlund
e39c5811b5 8210330: Make CLD claiming allow multiple claim bits
Reviewed-by: pliden, coleenp
2018-10-16 13:16:11 +02:00