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

Vladimir Kozlov kvn at openjdk.org
Fri Feb 17 17:53:03 UTC 2023


On Fri, 17 Feb 2023 10:19:07 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> I suggest then to use my proposal - compile all test's methods. I concern that compiling only one method may not catch some issues when the method is inlined.
>
> @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.

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

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


More information about the hotspot-compiler-dev mailing list