RFR: 8295964: Move InstanceKlass::_misc_flags

David Holmes dholmes at openjdk.org
Fri Oct 28 04:07:25 UTC 2022


On Fri, 28 Oct 2022 01:36:56 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

>> I moved misc_flags out to their own misc flags class so that we can put the writeable accessFlags there too with atomic access.
>> 
>> Tested with tier1-4.
>
> src/hotspot/share/prims/jvmtiRedefineClasses.cpp line 4408:
> 
>> 4406:   if (!the_class->has_been_redefined()) {
>> 4407:     the_class->set_has_been_redefined();
>> 4408:   }
> 
> Nit: Is this change really needed?

Seems unrelated to this refactoring. If really a bug it should be fixed separately.

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

PR: https://git.openjdk.org/jdk/pull/10249


More information about the serviceability-dev mailing list