159 Commits

Author SHA1 Message Date
Erik Gahlin
e144104bb3 8262908: JFR: Allow JFR to stream events from a known repository path
Reviewed-by: mgronlun
2021-04-28 02:02:53 +00:00
Erik Gahlin
71163213cb 8254565: JFR: Incorrect verification of mirror events
Reviewed-by: mgronlun
2021-04-21 21:22:52 +00:00
Erik Gahlin
d61345984d 8265407: JFR: Fix Typos
Reviewed-by: mgronlun
2021-04-20 17:27:25 +00:00
Erik Gahlin
4413dbfbdb 8263395: Incorrect use of Objects.nonNull
Reviewed-by: shade
2021-04-16 19:51:15 +00:00
Erik Gahlin
7c37c022a1 8244190: JFR: When starting a JVM with -XX:StartFlightRecording, output is written to stdout
Reviewed-by: mgronlun
2021-04-16 17:26:13 +00:00
Erik Gahlin
e80012ede3 8264768: JFR: Allow events to be printed to the log
Reviewed-by: mgronlun
2021-04-13 20:06:39 +00:00
Denghui Dong
ec599da68c 8264633: Add missing logging to PlatformRecording#stop
Reviewed-by: egahlin
2021-04-08 08:11:43 +00:00
Erik Gahlin
963f1fc6de 8264309: JFR: Improve .jfc parser
Reviewed-by: mgronlun
2021-03-29 13:56:44 +00:00
Alex Blewitt
e47dfb8e28 8264062: Use the blessed modifier order in jdk.jfr
Reviewed-by: mgronlun
2021-03-26 10:24:38 +00:00
Erik Gahlin
4e708e58dc 8260862: JFR: New configure command for the jfr tool
Reviewed-by: mgronlun
2021-03-25 20:43:16 +00:00
Erik Gahlin
ae9af57bf6 8264001: JFR: Modernize implementation
Reviewed-by: mgronlun
2021-03-24 09:54:29 +00:00
Andrey Turbanov
68deb24b38 8080272: Refactor I/O stream copying to use InputStream.transferTo/readAllBytes and Files.copy
Reviewed-by: mcimadamore, alanb
2021-03-16 10:10:05 +00:00
Yi Yang
86e4c755f9 8256156: JFR: Allow 'jfr' tool to show metadata without a recording
Reviewed-by: egahlin
2021-03-13 02:03:07 +00:00
Roman Kennke
65a245e262 8262329: Fix JFR parser exception messages
Reviewed-by: egahlin
2021-02-26 19:12:54 +00:00
Chris Hegarty
3dc6f52a89 8261160: Add a deserialization JFR event
Co-authored-by: Sean Coffey <coffeys@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: coffeys, rriggs, dfuchs, egahlin
2021-02-12 17:35:25 +00:00
Magnus Ihse Bursie
f7a6cff983 8261149: Initial nroff manpage update for JDK 17
Reviewed-by: dholmes, erikj
2021-02-04 14:37:33 +00:00
Denghui Dong
e8ad8b3504 8259956: jdk.jfr.internal.ChunkInputStream#available should return the sum of remaining available bytes
Reviewed-by: egahlin
2021-02-04 09:22:01 +00:00
Jesper Wilhelmsson
9b7a8f1982 Merge 2021-02-04 02:06:33 +00:00
Magnus Ihse Bursie
ed1a7755c3 8258378: Final nroff manpage update for JDK 16
Reviewed-by: erikj, dholmes
2021-02-02 07:41:48 +00:00
Erik Gahlin
21f8bf4411 8257215: JFR: Events dropped when streaming over a chunk rotation
Reviewed-by: mgronlun
2021-02-01 05:57:08 +00:00
Denghui Dong
311a0a91ba 8259808: Add JFR event to detect GC locker stall
Reviewed-by: sjohanss, tschatzl, egahlin
2021-01-27 15:28:46 +00:00
Jesper Wilhelmsson
d701babb06 Merge 2021-01-15 03:10:55 +00:00
Erik Gahlin
4307fa68b7 8253505: JFR: onFlush invoked out of order with a sorted event stream
Reviewed-by: mgronlun
2021-01-14 21:26:13 +00:00
Carter Kozak
81c0624286 8259354: Fix race condition in AbstractEventStream.nextThreadName
Reviewed-by: egahlin
2021-01-07 06:11:32 +00:00
Erik Gahlin
bbc2e9510b 8257906: JFR: RecordingStream leaks memory
Reviewed-by: mgronlun
Backport-of: 3c6648501589bf36945340cb1e82c833ebd7485d
2021-01-05 13:39:57 +00:00
Jesper Wilhelmsson
f15528eb64 Merge 2020-12-17 20:41:37 +00:00
Jie Kang
763623db80 8258524: Instrumented EventHandler calls private instance method EventWriter.reset
Reviewed-by: mgronlun
2020-12-17 19:21:13 +00:00
Markus Grönlund
7aac4dc175 8257621: JFR StringPool misses cached items across consecutive recordings
Reviewed-by: egahlin
2020-12-17 14:34:44 +00:00
Erik Gahlin
3c66485015 8257906: JFR: RecordingStream leaks memory
Reviewed-by: mgronlun
2020-12-16 11:03:41 +00:00
Markus Grönlund
502a5241e5 8257602: Introduce JFR Event Throttling and new jdk.ObjectAllocationSample event (enabled by default)
Co-authored-by: Jaroslav Bachorik <jbachorik@openjdk.org>
Reviewed-by: egahlin, jbachorik
2020-12-10 12:33:48 +00:00
Dan Smith
48d8650ae1 8257845: Integrate JEP 390
8254047: [JEP 390] Revise "value-based class" & apply to wrappers
8252181: [JEP 390] Define & apply annotation jdk.internal.ValueBased
8252183: [JEP 390] Add 'lint' warning for @ValueBased classes
8257027: [JEP 390] Diagnose synchronization on @ValueBased classes
8252180: [JEP 390] Deprecate wrapper class constructors for removal

Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Srikanth Adayapalam <sadayapalam@openjdk.org>
Co-authored-by: Lois Foltan <lfoltan@openjdk.org>
Reviewed-by: rriggs, hseigel, mchung, darcy
2020-12-08 23:04:01 +00:00
Erik Gahlin
cef606feca 8253762: JFR: getField(String) should be able to access subfields
Reviewed-by: mgronlun
2020-12-08 00:06:20 +00:00
Erik Gahlin
09707dd4f2 8252807: The jdk.jfr.Recording.getStream does not work when toDisk is disabled
Reviewed-by: mgronlun
2020-12-07 11:09:25 +00:00
Yasumasa Suenaga
e0de28c1d3 8257424: RecordingStream does not specify the recording name
Reviewed-by: egahlin
2020-12-01 11:17:43 +00:00
Erik Gahlin
738efea9c6 8248564: JFR: Remote Recording Stream
Reviewed-by: mgronlun
2020-11-30 08:19:08 +00:00
Jie Kang
c85c9ad1f1 8255992: JFR EventWriter does not use first string from StringPool with id 0
Reviewed-by: egahlin
2020-11-16 13:25:40 +00:00
Magnus Ihse Bursie
622f72bc8b 8255853: Update all nroff manpages for JDK 16 release
Reviewed-by: erikj
2020-11-03 22:12:56 +00:00
Michael McMahon
6bb7e45e8e 8245194: Unix domain socket channel implementation
Reviewed-by: erikj, dfuchs, alanb, chegar
2020-10-28 17:26:26 +00:00
Sergey Tsypanov
3c4fc79326 8255299: Drop explicit zeroing at instantiation of Atomic* objects
Reviewed-by: redestad, serb, prr
2020-10-28 12:11:53 +00:00
Magnus Ihse Bursie
504cb00568 8252113: Move jfr man page into jfr module
Reviewed-by: erikj
2020-10-27 13:57:56 +00:00
Michael Bien
e577c8c852 8253641: Missing newline in the printout of certain JFR events
Co-authored-by: Michael Bien <mbien42@gmail.com>
Reviewed-by: mgronlun
2020-10-20 17:47:34 +00:00
Ekaterina Vergizova
a0382cd17c 8253235: JFR.dump does not respect maxage parameter
Reviewed-by: egahlin
2020-10-19 14:19:58 +00:00
Calvin Cheung
96bb6e76bf 8251325: Miss 'L' for long value in if statement
Reviewed-by: iklam
2020-10-15 20:05:28 +00:00
Philippe Marschall
2a406f3ce5 8138732: Rename @HotSpotIntrinsicCandidate to @IntrinsicCandidate and move it to the jdk.internal.vm.annotation package
Reviewed-by: dholmes, alanb, psandoz, kvn, egahlin
2020-09-30 20:05:07 +00:00
Ekaterina Vergizova
a67f890fc6 8253050: jfr disassemble command processes --max-chunks incorrectly
Reviewed-by: egahlin
2020-09-17 13:03:26 +00:00
Patricio Chilano Mateo
e56002c7d3 8242263: Diagnose synchronization on primitive wrappers
Added diagnostic flag DiagnoseSyncOnPrimitiveWrappers

Reviewed-by: dholmes, mdoerr, dcubed, coleenp, egahlin, mgronlun
2020-08-21 15:04:02 +00:00
Chihiro Ito
db4d59cc0c 8250912: Recording#copy() doesn't copy the flush interval
Reviewed-by: jbachorik
2020-08-06 23:47:55 +09:00
Mikael Vidstedt
9ff01f7b2f Merge 2020-07-21 20:55:29 -07:00
Markus Grönlund
c7b074a9db 8249713: JFR: java.base events have incomplete stacktraces
Reviewed-by: egahlin
2020-07-21 11:54:19 +02:00
Chihiro Ito
ba2caf0014 8249720: Generated bytecodes of EventWriter don't be output to the log
Reviewed-by: egahlin
2020-07-20 22:43:28 +09:00