291 Commits

Author SHA1 Message Date
Stefan Karlsson
e527ce4b57 8234562: Move OrderAccess::release_store*/load_acquire to Atomic
Reviewed-by: rehn, dholmes
2019-11-25 12:22:13 +01:00
Markus Grönlund
cebc2be1cb 8234433: TestUnloadEventClassCount fails with "assert(SafepointSynchronize::is_at_safepoint()) failed: invariant"
Reviewed-by: pliden
2019-11-25 11:08:30 +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
Erik Gahlin
8a5e087ed8 8233700: EventStream not closed
Reviewed-by: mgronlun, mseledtsov
2019-11-22 17:20:43 +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
24bff84cb3 8232905: JFR fails with assertion: assert(t->unflushed_size() == 0) failed: invariant
Reviewed-by: egahlin
2019-11-07 15:56:56 +01:00
Markus Grönlund
9ec96c1117 8233416: JFR: assert((((((klass)->trace_id()) & (((1 << 1) << 8) | (JfrTraceIdEpoch::in_use_this_epoch_bit()))) != 0))) failed: invariant
Reviewed-by: egahlin
2019-11-07 15:53:25 +01:00
Yasumasa Suenaga
b2e6cba0b4 8233375: JFR emergency dump does not recover thread state
Reviewed-by: dholmes, mgronlun
2019-11-06 21:49:30 +09: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
Eric Caspole
dbbd17b497 8233075: JFR - nmetods - misspelled in several places
Reviewed-by: hseigel, mseledtsov
2019-10-29 13:51:14 -04:00
Mark Reinhold
d83df45396 8232080: jlink plugins for vendor information and run-time options
Reviewed-by: ihse, alanb, kvn, bobv, mchung
2019-10-29 08:26:55 -07:00
Markus Grönlund
72b3f81dd4 8230400: Missing constant pool entry for a method in stacktrace
Reviewed-by: egahlin
2019-10-29 11:33:25 +01:00
Markus Grönlund
b4d37ba6b9 8231081: TestMetadataRetention fails due to missing symbol id
Reviewed-by: egahlin
2019-10-24 16:37:22 +02:00
Daniil Titov
7306526835 8170299: Debugger does not stop inside the low memory notifications code
Reviewed-by: sspitsyn, dholmes
2019-10-08 09:13:08 -07:00
Calvin Cheung
b08a8c5cc3 8231606: _method_ordering is not set during CDS dynamic dump time
Add the missing DynamicDumpSharedSpaces check in sort_methods(); replace the (DumpSharedSpaces || DynamicDumpSharedSpaces) with the Arguments::is_dumping_archive() function call.

Reviewed-by: iklam, coleenp, jiangli
2019-10-02 16:55:08 -07:00
Markus Grönlund
dbc8df3b97 8231025: Incorrect method tag offset for big endian platform
Reviewed-by: egahlin
2019-09-14 18:45:24 +02: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
Thomas Stuefe
88d59bc878 8230888: jfrVirtualMemory.cpp should include globals.hpp
Reviewed-by: dholmes, mgronlun
2019-09-12 12:51:31 +02:00
Leo Korinth
4b6f9ed07f 8230398: Remove NULL checks before FREE_C_HEAP_ARRAY
Reviewed-by: dholmes, kbarrett, tschatzl
2019-09-11 14:16:30 +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
Stefan Johansson
f7d0ece0a1 8209802: Garbage collectors should register JFR types themselves to avoid build errors
Reviewed-by: kbarrett, tschatzl
2019-09-04 09:47:55 +02:00
Markus Grönlund
4e43486172 8227411: TestTimeMultiple.java failed "assert(!lease()) failed: invariant"
Reviewed-by: egahlin
2019-09-02 15:04:43 +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
Coleen Phillimore
da18495f38 8230003: Make Monitor inherit from Mutex
Reverse inheritance that makes more sense.

Reviewed-by: dholmes, rehn, pchilanomate
2019-08-22 09:51:36 -04: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
Robbin Ehn
c6446d44b7 8226228: Make Threads_lock an always safepoint checked lock
Reviewed-by: coleenp, dcubed, dholmes
2019-08-09 11:04:08 +02:00
Mikael Vidstedt
2e6e33eba1 Merge 2019-08-05 16:27:30 -07:00
Mikael Vidstedt
ce4c42b376 Merge 2019-08-01 09:23:21 -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
ebde73209f 8227011: Starting a JFR recording in response to JVMTI VMInit and / or Java agent premain corrupts memory
Reviewed-by: egahlin, rwestberg
2019-07-02 17:46:38 +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
Markus Grönlund
f508e14d9a 8227605: Kitchensink fails "assert((((klass)->trace_id() & (JfrTraceIdEpoch::leakp_in_use_this_epoch_bit())) != 0)) failed: invariant"
Reviewed-by: dholmes, dcubed, egahlin
2019-07-31 16:09:17 +02:00
Erik Gahlin
96a1333c77 8216064: -XX:StartFlightRecording:settings= doesn't work properly
Reviewed-by: mgronlun
2019-06-09 11:28:13 +02:00
Erik Gahlin
60b662d85e 8216283: Allow shorter method sampling interval than 10 ms
Reviewed-by: mgronlun
2019-06-06 20:19:03 +02:00
Markus Grönlund
ba723fbdfb 8224172: assert(jfr_is_event_enabled(id)) failed: invariant
Reviewed-by: dcubed, dholmes
2019-05-30 11:42:53 +02:00
Markus Grönlund
be2b567e90 8217089: JFR: Lazy install os interface components for improved startup
Reviewed-by: dholmes, egahlin
2019-05-29 13:30:17 +02:00
Markus Grönlund
d2218f73ea 8221121: applications/microbenchmarks are encountering crashes in tier5
Reviewed-by: egahlin, dholmes
2019-05-28 13:28:48 +02:00
Stefan Karlsson
4914e0ee95 8224203: Remove need to specify type when using FLAG_SET macros
Reviewed-by: rehn, pliden, coleenp
2019-05-22 13:06:31 +02:00
Markus Grönlund
0b9afd7a5a 8220293: Deadlock in JFR string pool
Reviewed-by: rehn, egahlin
2019-05-21 20:53:27 +02:00
Ken Dobson
8cab46d6ca 8221507: Implement JFR Events for Shenandoah
Reviewed-by: rkennke, shade, egahlin, mseledtsov
2019-05-21 10:36:23 +02:00
Calvin Cheung
72dc5721e0 8207812: Implement Dynamic CDS Archive
Improve the usability of AppCDS

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: Jiangli Zhou <jianglizhou@google.com>
Reviewed-by: acorn, jiangli, mseledtsov
2019-05-17 08:29:55 -07:00
Matthias Baesken
c39088c391 8223438: add VirtualizationInformation JFR event
Reviewed-by: clanger, egahlin
2019-05-16 09:21:49 +02:00
Coleen Phillimore
4915cf9b71 8223956: Make SymbolTable and StringTable AllStatic
Removed superfluous and confusing _the_table pointer.

Reviewed-by: gziemski, rehn
2019-05-16 07:09:17 -04: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
Stefan Karlsson
5a8ba256df 8223136: Move compressed oops functions to CompressedOops class
Reviewed-by: coleenp, lkorinth
2019-05-09 14:26:03 +02:00
Gerard Ziemski
d988e67b89 8185525: Add JFR event for DictionarySizes
Added TableStatistics event

Reviewed-by: egahlin, coleenp
2019-05-08 11:11:50 -05:00