291 Commits

Author SHA1 Message Date
Harold Seigel
d74e4f2237 8243572: Multiple tests fail with assert(cld->klasses() != 0LL) failed: unexpected NULL for cld->klasses()
Merge unsafe anonymous class stats with hidden classes, avoiding having to call cld->klasses()

Reviewed-by: lfoltan, mchung, mgronlun
2020-04-30 13:10:09 +00:00
Nikolay Martynov
313758a57a 8243489: Thread CPU Load event may contain wrong data for CPU time under certain conditions
Reviewed-by: jbachorik
2020-04-29 13:27:01 +02:00
Coleen Phillimore
3ed0849504 8243393: Improve ReservedSpace constructor resolution
Remove possibly ambiguous constructor and use directly in ReservedCodeHeap

Reviewed-by: stuefe
2020-04-28 07:35:28 -04:00
Erik Gahlin
c55e7d5a4a 8242034: Remove JRE_HOME references
Reviewed-by: mbaesken
2020-04-27 15:01:22 +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
Per Lidén
2e4783411e 8240745: Implementation: JEP 377: ZGC: A Scalable Low-Latency Garbage Collector (Production)
Reviewed-by: stefank, eosterlund
2020-04-03 23:40:33 +02:00
Stefan Karlsson
16df851efd 8241160: Concurrent class unloading reports GCTraceTime events as JFR pause sub-phase events
Reviewed-by: eosterlund, kbarrett
2020-03-18 17:28:41 +01:00
Stefan Karlsson
b7439a8ae3 8241361: ZGC: Implement memory related JFR events
Co-authored-by: Per Liden <per.liden@oracle.com>
Reviewed-by: pliden, eosterlund
2020-03-27 15:28:07 +01:00
Jamsheed Mohammed C M
211e529373 8193210: [JVMCI/Graal] add JFR compiler phase/inlining events
C++ EventCompilerPhase/EventCompilerInlining definitions are extended for JVMCI use.

Reviewed-by: dnsimon, egahlin, kvn, mgronlun, thartmann
2020-03-27 09:47:13 -07:00
Stefan Karlsson
b4e85913bf 8240819: Assign a name to the JfrThreadSampler thread
Reviewed-by: mgronlun
2020-03-19 14:16:28 +01:00
Stefan Karlsson
e2947fe9e8 8240773: JFR: Non-Java threads are not serialized
Reviewed-by: mgronlun
2020-03-19 14:15:29 +01: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
Markus Grönlund
aac5b27b6a 8238180: RunThese30M failed "assert(t->jfr_thread_local()->shelved_buffer() == __null) failed: invariant"
Reviewed-by: egahlin
2020-03-10 15:44:59 +01:00
Markus Grönlund
d75e62e16b 8239376: JFR: assert(!cld->is_unsafe_anonymous()) failed: invariant
Reviewed-by: coleenp, lfoltan, hseigel
2020-03-05 17:55:53 +01:00
Denghui Dong
52d7a61e8d 8237499: JFR: Include stack trace in the ThreadStart event
Reviewed-by: egahlin
2020-02-24 23:24:14 +01:00
Erik Gahlin
266446f316 8239585: JFR: Native events should support empty payloads
Reviewed-by: mgronlun
2020-02-24 17:10:01 +01:00
Erik Gahlin
5d9c59f2f8 8238236: Add JFR class redefinition events
Reviewed-by: mgronlun
2020-02-17 22:36:13 +01:00
Erik Gahlin
304d764a72 8238634: Reduce log verbosity of the JFR thread sampler
Reviewed-by: mgronlun
2020-02-10 14:21:51 +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
Erik Gahlin
a2bbf933d9 8222001: JFR event for heap dumps written
Reviewed-by: mgronlun
2020-01-29 22:37:17 +01:00
Erik Gahlin
5c3d9a7d04 8237887: CDSandJFR: assert(instance_klass->is_initialized()
Reviewed-by: mgronlun
2020-01-28 22:37:38 +01:00
Erik Gahlin
3884792cda 8227610: Remove allocation when getting EventHandle
Reviewed-by: mgronlun
2020-01-27 14:30:57 +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
David Holmes
7c27f9f5dd 8235741: Inappropriate uses of os::javaTimeMillis()
Reviewed-by: rehn, kbarrett, egahlin, shade
2020-01-17 00:52:10 -05: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
Jesper Wilhelmsson
b936939454 Merge 2020-01-20 18:05:07 +01:00
Erik Gahlin
6ee7f3734d 8236691: JFR: assert((((((klass)->trace_id()) & ((JfrTraceIdEpoch::method_and_class_in_use_this_epoch_bits()))) != 0))) failed: invariant
Reviewed-by: mgronlun
2020-01-14 15:25:17 +01:00
Erik Gahlin
2c7c8023ed 8236263: Remove experimental streaming events
Reviewed-by: rehn, mseledtsov
2020-01-10 21:09:53 +01:00
Erik Gahlin
0562caa4cb 8236487: JFR Recorder Thread crashed due to "assert(_chunkwriter.is_valid()) failed: invariant"
Reviewed-by: mgronlun, mseledtsov
2020-01-08 19:12:20 +01:00
Markus Grönlund
5acd373a10 8234059: Stress test fails with "Unexpected Exception in thread JFR Event Stream"
Reviewed-by: egahlin
2019-12-21 13:03:02 +01:00
Markus Grönlund
304ab31cff 8233111: Epoch shift synchronization point for Compiler threads
Reviewed-by: egahlin
2019-12-21 12:45:08 +01: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
Harold Seigel
7fc58a1020 8235678: Remove unnecessary calls to Thread::current() in MutexLocker calls
Add THREAD argument when available and make Thread* the first argument to relevant MutexLocker and MonitorLocker constructors

Reviewed-by: lfoltan, coleenp, dholmes
2020-01-16 13:48:23 +00: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
Denghui Dong
d713fb8aa2 8234060: Potential memory reordering problem in JfrBuffer flush mechanism
Reviewed-by: egahlin
2019-12-04 21:26:57 +01:00
Kim Barrett
577e87e5b2 8234779: Provide idiom for declaring classes noncopyable
Add NONCOPYABLE macro and uses.

Reviewed-by: dholmes, pliden, coleenp
2019-12-03 19:09:30 -05:00
Robbin Ehn
21e03e71aa 8234796: Refactor Handshake::execute to take a more complex type than ThreadClosure
Reviewed-by: dholmes, pliden, coleenp
2019-12-03 15:32:41 +01:00
Igor Ignatyev
6864634fb1 8216041: [Event Request] - Deoptimization
Reviewed-by: iignatyev, vlivanov, egahlin
2019-12-03 12:41:45 +01: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
161333eeba 8234748: Clean up atomic and orderAccess includes
Reviewed-by: dholmes
2019-11-26 10:47:46 +01:00
Markus Grönlund
b5f034ad44 8234684: JFR crashes when rotating the JFR output during assertion failure
Reviewed-by: egahlin, mseledtsov
2019-11-25 20:18:54 +01:00
Markus Grönlund
096bacb9ea 8233197: Invert JvmtiExport::post_vm_initialized() and Jfr:on_vm_start() start-up order for correct option parsing
Reviewed-by: sspitsyn, egahlin
2019-11-25 18:38:01 +01:00
Stefan Karlsson
0ad50c2b5c 8234740: Harmonize parameter order in Atomic - cmpxchg
Reviewed-by: rehn, dholmes
2019-11-25 12:33:15 +01:00
Stefan Karlsson
3d426623bf 8234739: Harmonize parameter order in Atomic - xchg
Reviewed-by: rehn, dholmes
2019-11-25 12:32:40 +01:00
Stefan Karlsson
d45ec50076 8234737: Harmonize parameter order in Atomic - add
Reviewed-by: rehn, dholmes
2019-11-25 12:31:39 +01:00