On Tue, 1 Oct 2024 16:22:36 GMT, Maurizio Cimadamore <mcimadam...@openjdk.org> wrote:
>> The issue with using a compile command is that it will then work globally. >> So the benchmark would not really test much - besides checking that var >> handle access is slow when `asType` cannot inline. What I was trying to do >> here was to avoid `asType` being inlined into that `compileAsType` method - >> but I agree that the annotation I added isn't it. > > I believe `EXCLUDE` is what I was reaching out for I think EXCLUDE would work, yes. True about CompileCommand having a global effect, so that won't work. (With a CompilerDirective file we could be more precise, not sure if it's worth it though). ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/21283#discussion_r1783255680