RFR: CODETOOLS-7903008: JMH: Support incremental annotation processing for Gradle Java plugin

Taylor Wicksell github.com+301239+twicksell at openjdk.java.net
Tue Sep 21 21:35:13 UTC 2021


On Fri, 6 Aug 2021 07:23:22 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> Please hold off on merging. After running through some more complex benchmark examples, I've found a place where we are not using Filer to write classes. `StateObjectHandler.writeStateOverrides` seems problematic. Looking to see if I can fix that.
>
>> Please hold off on merging. After running through some more complex benchmark examples, I've found a place where we are not using Filer to write classes. `StateObjectHandler.writeStateOverrides` seems problematic. Looking to see if I can fix that.
> 
> I don't see a problem there? `StateObjectHandler.writeStateOverrides` delegates to `GeneratorDestination.newClass`, which in calls `APGeneratorDestination.newClass` in annotation processing mode, which uses `Filer`.

Sorry to be a bother, but would you mind having another look at this one @shipilev?

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

PR: https://git.openjdk.java.net/jmh/pull/43


More information about the jmh-dev mailing list