RFR: 8262377: Parallel class resolution loses constant pool error [v4]
Coleen Phillimore
coleenp at openjdk.java.net
Wed Mar 10 13:58:09 UTC 2021
On Wed, 10 Mar 2021 05:50:35 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Remove complicated test in favor of Ioi's test, fix cause.
>
> test/hotspot/jtreg/runtime/ParallelLoad/SaveResolutionErrorTest.java line 158:
>
>> 156: public Class loadClass(String name) throws ClassNotFoundException {
>> 157: if (name.equals("SaveResolutionErrorTest$Loadee")) {
>> 158: if (hack()) {
>
> You could just use a boolean field 'first'.
Ioi might have wanted to defend against optimization here, so I prefer to leave it.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2718
More information about the hotspot-dev
mailing list