On Wed, 24 Aug 2022 20:45:29 GMT, Eric Caspole <ecasp...@openjdk.org> wrote:
>> Add a JMH for ProtectionDomain related to current work on JDK-8292375. Also, >> add the InMemoryJavaCompiler to the JMH jar, to generate the classes needed >> for this test and will be useful for future class loading JMH too. > > Eric Caspole has updated the pull request incrementally with one additional > commit since the last revision: > > Updates from reviewers comments test/micro/org/openjdk/bench/java/security/ProtectionDomainBench.java line 90: > 88: for (int i = 0; i < numberOfClasses; i++) { > 89: classNames[i] = "B" + i; > 90: compiledClasses[i] = > InMemoryJavaCompiler.compile(classNames[i], B(i)); Is it possible to use the existing `jdk.test.lib.compiler.InMemoryJavaCompiler` class instead of writing a new one? ------------- PR: https://git.openjdk.org/jdk/pull/9950