288 Commits

Author SHA1 Message Date
Coleen Phillimore
fbafef11c0 8222811: Consolidate MutexLockerEx and MutexLocker
Make MutexLocker be MutexLockerEx implementation, remove MutexLockerEx calls.

Reviewed-by: dcubed, dholmes, pliden, rehn
2019-04-25 10:56:31 -04:00
Yasumasa Suenaga
c576c3c3f5 8219566: JFR did not collect call stacks when MaxJavaStackTraceDepth is set to zero
Reviewed-by: egahlin, mgronlun
2019-04-24 17:09:24 +09:00
Robbin Ehn
8552ad776a 8218147: make_walkable asserts on multiple calls
Reviewed-by: dholmes, dcubed
2019-04-17 09:25:27 +02:00
Yasumasa Suenaga
ec1f61711b 8217362: Emergency dump does not work when disk=false is set
Reviewed-by: egahlin, ysuenaga
2019-03-25 15:37:06 +01:00
Boris Ulasevich
504562b3a4 8217647: JFR: recordings on 32-bit systems unreadable
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: egahlin
2019-02-22 17:30:07 +03:00
Robbin Ehn
74d466fd5f 8219436: Safepoint logs correction and misc
Reviewed-by: mdoerr, coleenp
2019-02-22 14:20:06 +01:00
Claes Redestad
dbdfbb518f 8219229: Make ConstantPool::tag_at and release_tag_at_put inlineable
Reviewed-by: dholmes, coleenp
2019-02-20 09:53:28 +01:00
Robbin Ehn
bec8431683 8203469: Faster safepoints
Reviewed-by: dcubed, pchilanomate, dholmes, acorn, coleenp, eosterlund
2019-02-15 14:15:10 +01:00
Mikael Vidstedt
d55784deb0 8218935: Make jfr strncpy uses GCC 8.x friendly
Reviewed-by: clanger
2019-02-14 15:17:03 -08:00
Robbin Ehn
046a1f0ff7 8218041: Assorted wrong/missing includes
Reviewed-by: dholmes, kbarrett, stefank, shade
2019-01-31 10:31:39 +01:00
Claes Redestad
911c7ff446 8217442: Optimize native accesses to String.value
Reviewed-by: shade, dholmes
2019-01-22 11:22:44 +01:00
Simon Tooke
8ec2db0ad9 8216578: Remove unused/obsolete method in JFR code
Reviewed-by: mgronlun, mikael
2019-01-16 13:38:19 -05:00
Claes Redestad
045cf9733d 8216995: Clean up JFR command line processing
Reviewed-by: gziemski, mgronlun
2019-01-15 21:17:35 +01:00
Yasumasa Suenaga
608258ffd1 8216486: Possibility of integer overflow in JfrThreadSampler::run()
Reviewed-by: rehn, sgehwolf
2019-01-11 23:32:52 +09: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
Jesper Wilhelmsson
67abf1eef9 Merge 2019-01-08 07:29:13 +01:00
Erik Österlund
0007eebae3 8215773: applications/kitchensink/Kitchensink.java crash with "assert(ZAddress::is_marked(addr)) failed: Should be marked"
Reviewed-by: coleenp, pliden
2019-01-07 12:22:31 +01: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
David Holmes
526f854cc1 8214097: Rework thread initialization and teardown logic
Reviewed-by: rehn, mgronlun, dcubed, kbarrett
2018-12-27 21:17:11 -05:00
Milan Mimica
9cbca323f7 8215727: Restore JFR thread sampler loop to old / previous behavior
Reviewed-by: egahlin, mgronlun
2018-12-21 16:56:40 +01:00
Markus Grönlund
e7722158fd 8215284: Reduce noise induced by periodic task getFileSize()
Reviewed-by: redestad, egahlin
2018-12-13 14:36:54 +01:00
Erik Gahlin
a3ca6f482e 8215175: Inconsistencies in JFR event metadata
Reviewed-by: mgronlun
2018-12-13 14:21:04 +01:00
Erik Gahlin
85ffc2803c 8165675: Trace event for thread park has incorrect unit for timeout
Reviewed-by: mgronlun
2018-12-12 18:35:26 +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
Erik Gahlin
5c30297045 8213617: JFR should record the PID of the recorded process
Reviewed-by: mgronlun
2018-12-08 17:41:17 +01:00
Erik Gahlin
8bc45e7b29 8213966: The ZGC JFR events should be marked as experimental
Reviewed-by: pliden
2018-12-08 14:08:04 +01:00
Erik Gahlin
714b05023e 8213421: Line number information for execution samples always 0
Reviewed-by: mgronlun
2018-12-07 18:00:41 +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
Thomas Schatzl
eb5557a98e 8214791: Consistently name gc files containing VM operations
Name all gc files containing VM operations according to a <gc>VMOperations.?pp.

Reviewed-by: coleenp, dholmes
2018-12-06 15:44:13 +01:00
Erik Gahlin
afdb850f87 8205516: JFR tool
Reviewed-by: mgronlun
2018-12-05 16:40:12 +01:00
Robbin Ehn
72235f33c7 8212108: SafepointSynchronizer never ending counter (big enough)
Reviewed-by: dholmes, eosterlund
2018-11-23 10:43:18 +01:00
Markus Grönlund
954c14dc83 8214161: java.lang.IllegalAccessError: class jdk.internal.event.X509CertificateEvent (in module java.base) cannot access class jdk.jfr.internal.handlers.EventHandler (in module jdk.jfr) because module java.base does not read module jdk.jfr
Reviewed-by: egahlin, dholmes
2018-11-23 10:51:59 +01:00
Yasumasa Suenaga
4663065fad 8213015: Inconsistent settings between JFR.configure and -XX:FlightRecorderOptions
Reviewed-by: mgronlun, egahlin
2018-11-23 16:36:07 +09: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
Markus Grönlund
8ed728c905 8210024: JFR calls virtual is_Java_thread from ~Thread()
Reviewed-by: kbarrett, dholmes, dcubed, egahlin
2018-11-15 11:10:04 +01:00
Mikael Vidstedt
f69921f2fc 8213436: Obsolete UseMembar
Reviewed-by: kvn, dholmes, mdoerr, adinn
2018-11-08 11:45:13 -08:00
David Holmes
eac28d7fae 8213137: Remove static initialization of monitor/mutex instances
Moved to the global mutex list in mutexLocker

Reviewed-by: tschatzl, dcubed, rehn, eosterlund
2018-11-08 07:42:08 -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 Gahlin
34d2e1ea70 8209960: -Xlog:jfr* doesn't work with the JFR
Reviewed-by: mgronlun
2018-11-05 14:40:16 +01:00
Coleen Phillimore
d302072f50 8213211: [BACKOUT] Allow Klass::_subklass and _next_sibling to have unloaded classes
Reviewed-by: jiangli, jwilhelm
2018-10-31 14:38:14 -04:00
Erik Gahlin
ba18b569ef 8203629: Produce events in the JDK without a dependency on jdk.jfr
Reviewed-by: mgronlun
2018-10-31 02:10:21 +01:00
Coleen Phillimore
6a045adbed 8212958: Allow Klass::_subklass and _next_sibling to have unloaded classes
Don't return unloaded klasses. Make sure access is protected by Compile_lock.

Reviewed-by: eosterlund, dlong
2018-10-29 10:21:34 -04:00
Thomas Stuefe
e4f51809e4 8212173: Thread._stack_base/_stack_size initialized too late for new threads
Reviewed-by: dholmes, simonis
2018-10-19 09:39:29 +02:00
Erik Österlund
b3c1e4f663 8212663: Remove conservative at_safepoint assert when JFR writes type sets during class unloading
Reviewed-by: coleenp, dholmes, mgronlun
2018-10-22 12:13:29 +02:00
Erik Österlund
e39c5811b5 8210330: Make CLD claiming allow multiple claim bits
Reviewed-by: pliden, coleenp
2018-10-16 13:16:11 +02:00
Coleen Phillimore
7ef28cb2bc 8209645: Split ClassLoaderData and ClassLoaderDataGraph into separate files
Reviewed-by: iklam, stuefe
2018-09-28 16:07:39 -04:00
Leo Korinth
b31408a667 8196341: Add JFR events for parallel phases of G1
Reviewed-by: tschatzl, sangheki
2018-09-21 18:57:18 +02:00
Coleen Phillimore
bbf5c1ca8d 8210422: runtime/modules/ModuleStress/ExportModuleStressTest.java - assertion failed: address not aligned: 0x00000008baadbabe
CLDG_lock caused safepoint in inconsistent state

Reviewed-by: lfoltan, eosterlund, kbarrett
2018-09-11 09:42:27 -04:00
Coleen Phillimore
eb9259138f 8210155: Lock ClassLoaderDataGraph
In preparation for concurrent class unloading.

Reviewed-by: hseigel, eosterlund
2018-08-31 07:03:46 -04:00
Kim Barrett
e1059f1301 8209976: Improve iteration over non-JavaThreads
Add NonJavaThread and move NamedThread iteration to new class.

Reviewed-by: eosterlund, coleenp, rkennke
2018-08-28 16:04:54 -04:00