RFR(XXS): 8242792: interval < flushInterval is always false in jdk.jfr.internal.RequestEngine#setFlushInterval

Erik Gahlin erik.gahlin at oracle.com
Wed Apr 15 08:09:01 UTC 2020


Looks good.

Did you find the issue by inspection, or was there a real issue?

Plan is to remove that code completely (after a release or two) as we 
don't think there is a practical need to set the flush interval above or 
below 1s.

Erik

On 2020-04-15 08:05, Denghui Dong wrote:
> Hi team,
>
> Could you please review this small patch?
>
> JBS: https://bugs.openjdk.java.net/browse/JDK-8242792
> webrev: http://cr.openjdk.java.net/~ddong/8242792/webrev.00/
>
> Summary:
> the condition interval < flushInterval is always false in jdk.jfr.internal.RequestEngine#setFlushInterval,
> and I also fix a typo in jdk/jfr/internal/JVM.java
>
> Thanks,
> Denghui Dong


More information about the hotspot-jfr-dev mailing list