73 Commits

Author SHA1 Message Date
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
Ioi Lam
bc62b3a40e 8209647: constantPoolHandle::constantPoolHandle(ConstantPool*) when precompiled header is disabled
Added fieldDescriptor.inline.hpp

Reviewed-by: coleenp, shade
2018-08-20 13:58:23 -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
Thomas Schatzl
9c0720b156 8208671: Runtime, JFR, Serviceability changes to allow enabling -Wreorder
Reviewed-by: dholmes, hseigel
2018-08-08 15:31:07 +02:00
Harold Seigel
c277f9ed8e 8207779: Method::is_valid_method() compares 'this' with NULL
Add Method* parameter and make method static to avoid 'thi's comparison with NULL

Reviewed-by: lfoltan, coleenp
2018-07-30 16:35:54 -04:00
Kim Barrett
9a9c824ece 8202353: os::readdir should use readdir instead of readdir_r
8202835: jfr/event/os/TestSystemProcess.java fails on missing events

Os::readdir uses POSIX readdir, drop buffer arg, fix JFR uses.

Reviewed-by: coleenp, tschatzl, bsrbnd
2018-07-17 15:59:47 -04:00
Markus Grönlund
cb094826ec 8203943: eventThreadGroup was null in TestJavaBlockedEvent.java
Reviewed-by: egahlin
2018-07-08 11:54:08 +02:00
Markus Grönlund
7129c3e786 8198346: assert(!_cld->claimed()) failed in TestObjectDescription.java
Reviewed-by: egahlin
2018-07-04 18:39:26 +02:00
Markus Grönlund
84d23a1596 8206254: Unable to complete emergency dump during safepoint
Reviewed-by: egahlin
2018-07-04 10:24:16 +02:00
Erik Gahlin
3567e9c1d5 8197425: Liveset information for Old Object sample event
Reviewed-by: mgronlun, ehelin
2018-06-28 15:13:39 +02:00
Robin Westberg
b11c7752e8 8003209: JFR events for network utilization
Reviewed-by: mgronlun, egahlin
2018-06-28 15:06:55 +02:00
Markus Grönlund
271a76877a 8205996: JDK-8205906 broke the build on Mac
Reviewed-by: thartmann, ehelin
2018-06-28 13:58:30 +02:00
Markus Grönlund
5fcc705378 8205906: jdk.jfr.jcmd.TestJcmdDumpLimited fails due to erronous processing of -XX:FlightRecorderOptions
Reviewed-by: egahlin
2018-06-28 11:37:02 +02:00
Calvin Cheung
8d1a97542e 8203664: JFR start failure after AppCDS archive created with JFR StartFlightRecording
Disable JFR and output a warning message during CDS dump time if JFR is enabled.

Reviewed-by: jiangli, lfoltan
2018-06-27 14:46:15 -07:00
Stefan Karlsson
11813888b8 8204540: Automatic oop closure devirtualization
Reviewed-by: kbarrett, eosterlund
2018-05-26 06:59:49 +02:00
Per Lidén
22c9d34be1 8205405: ZGC: Decouple JFR type registration
Reviewed-by: stefank, mgronlun
2018-06-25 10:54:55 +02:00