On Tue, 12 Sep 2023 21:06:15 GMT, Brent Christian <bchri...@openjdk.org> wrote:
>> Mandy Chung has updated the pull request incrementally with one additional >> commit since the last revision: >> >> cleanup > > test/micro/org/openjdk/bench/java/lang/CallerClassBench.java line 45: > >> 43: public class CallerClassBench { >> 44: static final StackWalker INST = >> StackWalker.getInstance(StackWalker.Option.RETAIN_CLASS_REFERENCE); >> 45: > > Could `DROP_METHOD_INFO` also be used here? yes but it's irrelevant in this benchmark as `getCallerClass` should be independent to `DROP_METHOD_INFO` option. The implementation always drops method info in the implementation. It does not affect the result. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/15642#discussion_r1323580483