RFR: 5560: Support new nio events in JDK 10.

Suchita Chaturvedi schaturvedi at openjdk.org
Mon Nov 13 21:23:17 UTC 2023


This PR addresses the enhancement request of missing event File Force.
1. A new rule File Force has been added to the "Automated Analysis Page", Under Java Application -> File I/O.
<img width="368" alt="image" src="https://github.com/openjdk/jmc/assets/11155712/833747bf-39b8-455f-9081-f7a23a6de3da">

2. "File I/O" screen is updated to accomodate values for the new event. There are two new columns added - Force Count, Update Metadata. Both these columns are hidden by default and user need to make them visible by right clicking the header of the table. Also the corresponding chart for File Force Event has been introduced.
<img width="960" alt="image" src="https://github.com/openjdk/jmc/assets/11155712/027400c5-ae83-499e-b4b5-531fe3b74e6a">

3. There is a new preference/configuration introduced for the File Force Rule.
 
<img width="313" alt="image" src="https://github.com/openjdk/jmc/assets/11155712/968b341e-e0cb-4d21-9288-71d56a0b5883">

-------------

Commit messages:
 - 5560: Support new nio events in JDK 10.

Changes: https://git.openjdk.org/jmc/pull/533/files
 Webrev: https://webrevs.openjdk.org/?repo=jmc&pr=533&range=00
  Issue: https://bugs.openjdk.org/browse/JMC-5560
  Stats: 335 lines in 15 files changed: 333 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jmc/pull/533.diff
  Fetch: git fetch https://git.openjdk.org/jmc.git pull/533/head:pull/533

PR: https://git.openjdk.org/jmc/pull/533


More information about the jmc-dev mailing list