RFR: 8302149: Speed up compiler/jsr292/methodHandleExceptions/TestAMEnotNPE.java

Vladimir Ivanov vlivanov at openjdk.org
Fri Feb 17 18:28:14 UTC 2023


On Fri, 17 Feb 2023 17:41:38 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> @vnkozlov Actually, I just checked what methods it wants to compile. And the generated `test` methods are these:
>> 
>> p.Tdirect::test
>> p.T::test
>> p.Treflect::test
>> 
>> 
>> There is also a method `p.I::m` that seems to have been generated. Does that also need to be compiled?
>> I also see a `p.C::<init>` and `p.E::<init>.` And some class or interface `p.D`. And `p.F::<init>` and `p.F::m`.
>> 
>> @iwanowww do you think we need to include all of these to be compiled?
>
> I think we can have several `compileonly` commands for different methods so you can list them all. Please, verify that.

I agree that it's easier to reason about the test when all generated methods are compiled.  I see it put generated classes in packages `p` and `q`. Compiling everything from those packages sounds fine.

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

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


More information about the hotspot-compiler-dev mailing list