On Fri, 28 Feb 2025 00:05:23 GMT, Leonid Mesnik <lmes...@openjdk.org> wrote:

> The cpuLoad tests were updated to fail if -1.0 returns to catch bugs like 
> https://bugs.openjdk.org/browse/JDK-8350820
> 
> The -1.0 means that JDK can't obtain cpu load. It shouldn't be returned.
> If this functionality doesn't work on certain configurations then they should 
> be excluded.
> 
> The fix should be pushed after https://bugs.openjdk.org/browse/JDK-8350820
> I filed separate PR to backport fix easier.
> Also, I haven't changed indentation and didn't change getSystemCpuLoad to 
> getCpuLoad. They return same. 
> Might be it would be better. just to rename the whole test later.

I see [JDK-8351002](https://bugs.openjdk.org/browse/JDK-8351002) was already 
filed

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

PR Comment: https://git.openjdk.org/jdk/pull/23833#issuecomment-2692905065

Reply via email to