RFR: 8367657: C2 SuperWord: NormalMapping demo from JVMLS 2025 [v3]

Christian Hagedorn chagedorn at openjdk.org
Tue Sep 16 08:30:56 UTC 2025


On Tue, 16 Sep 2025 07:36:34 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> test/hotspot/jtreg/compiler/gallery/NormalMapping.java line 121:
>> 
>>> 119:     }
>>> 120: 
>>> 121:     public static File getLocalFile(String name) {
>> 
>> Isn't `name` always constant (i.e. `normal_map.png`)? Then you could also extract that to a constant and use it here directly.
>
> I would like to allow the user to add their own images. I used to have multiple, but the file sizes are a bit of an issue.

I see, do you want to add a comment somewhere to suggest to play around with multiple image?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27282#discussion_r2351440198


More information about the hotspot-compiler-dev mailing list