RFR: 7262: Add rule for when the JVM version is < OpenJDK 8u302 [v5]

Oskar Jung github.com+1101441+ojung at openjdk.java.net
Wed Jun 2 16:25:45 UTC 2021


> This PR contains a rule for notifying users of JVM < OpenJDK8u302 to upgrade to avoid performance issues caused by https://bugs.openjdk.java.net/browse/JDK-8266723.
> 
> **JFR recorded on OpenJDK 8u302 EA:**
> ![Screen Shot 2021-06-02 at 14 45 46](https://user-images.githubusercontent.com/1101441/120482697-a9c7bf80-c3b1-11eb-83e0-7d17b23cfd99.png)
> 
> **JFR recorded on OpenJDK 8u292:**
> ![Screen Shot 2021-06-02 at 15 49 14](https://user-images.githubusercontent.com/1101441/120492943-ce746500-c3ba-11eb-999c-e75bf3fba245.png)

Oskar Jung has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:

 - fixup! 7262: Add rule for when the JVM version is < OpenJDK 8u302
 - fixup! 7262: Add rule for when the JVM version is < OpenJDK 8u302
 - 7262: Add rule for when the JVM version is < OpenJDK 8u302
   
   Since the test flight recording was created with 8u302 EA, a method
   `JavaVersion.isGreaterOrEqualThanDisregardEa` had to be added to compare
   java versions disregarding early access status.

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

Changes: https://git.openjdk.java.net/jmc/pull/256/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jmc&pr=256&range=04
  Stats: 742 lines in 10 files changed: 739 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jmc/pull/256.diff
  Fetch: git fetch https://git.openjdk.java.net/jmc pull/256/head:pull/256

PR: https://git.openjdk.java.net/jmc/pull/256


More information about the jmc-dev mailing list