RFR: 8302191: Performance degradation for float/double modulo on Linux [v2]

Jan Kratochvil duke at openjdk.org
Tue Feb 28 12:44:09 UTC 2023


On Mon, 27 Feb 2023 01:02:54 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Jan Kratochvil has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains one commit:
>> 
>>   8302191: Performance degradation for float/double modulo on Linux
>
> test/micro/org/openjdk/bench/vm/floatingpoint/DremFrem.java line 44:
> 
>> 42:  * Java bytecode drem is defined as C fmod (not C drem==remainder).
>> 43:  * GCC since 93ba85fdd253b4b9cf2b9e54e8e5969b1a3db098 has slow fmod().
>> 44:  * Testcase is based on: https://stackoverflow.com/a/55673220/2995591
> 
> That could be a problem. What is the license for code shown on StackOverflow?

A nice catch. I have tried to get a compatible license, we'll see: https://github.com/cirosantilli/java-cheat/pull/3

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

PR: https://git.openjdk.org/jdk/pull/12508


More information about the hotspot-dev mailing list