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

Brice Dutheil github.com+803621+bric3 at openjdk.java.net
Wed Jun 2 13:35:33 UTC 2021


On Wed, 2 Jun 2021 13:24:24 GMT, Brice Dutheil <github.com+803621+bric3 at openjdk.org> wrote:

>> Still known issues:
>> * OpenJDK and Oracle JDK are treated equally
>> 
>> 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)
>
> core/org.openjdk.jmc.common/src/main/java/org/openjdk/jmc/common/version/JavaVersion.java line 168:
> 
>> 166: 				return thisNumber > otherNumber;
>> 167: 			}
>> 168: 		}
> 
> It would be nice to avoid code duplication with the above method `isGreaterOrEqualThan`

Also I think the copyright year need to be bumped to 2021 for this file

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

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


More information about the jmc-dev mailing list