RFR: 8349007: The jtreg test ResolvedMethodTableHash takes excessive time [v2]
Coleen Phillimore
coleenp at openjdk.org
Thu Apr 3 20:45:52 UTC 2025
On Thu, 3 Apr 2025 20:35:28 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> test/hotspot/jtreg/runtime/MemberName/ResolvedMethodTableHash.java line 99:
>>
>>> 97: List<MethodHandle> handles = new ArrayList<>();
>>> 98:
>>> 99: int count = args.length > 0 ? Integer.parseInt(args[0]) : 200000;
>>
>> no need to check args and have default 20000, it is not executed, actually.
>> might be just hardcode 1000 here?
>
> I fixed this to hardcode 1001 (want 1001 iterations to print the message).
This was a good suggestion, thank you.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24383#discussion_r2027712900
More information about the hotspot-dev
mailing list