253 Commits

Author SHA1 Message Date
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
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