Re: RFR: 8295964: Move InstanceKlass::_misc_flags

2022-10-31 Thread Coleen Phillimore
On Fri, 28 Oct 2022 04:01:18 GMT, David Holmes 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/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/InstanceKlass.java

Re: RFR: 8295964: Move InstanceKlass::_misc_flags

2022-10-31 Thread Coleen Phillimore
On Fri, 28 Oct 2022 03:59:45 GMT, David Holmes wrote: >> 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 unrelat

Re: RFR: 8295964: Move InstanceKlass::_misc_flags

2022-10-31 Thread Coleen Phillimore
On Tue, 13 Sep 2022 13:29:45 GMT, Coleen Phillimore 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. Thank you for the code reviews, David and Serguei. - PR: https:/

Re: RFR: 8295964: Move InstanceKlass::_misc_flags

2022-10-27 Thread David Holmes
On Fri, 28 Oct 2022 01:36:56 GMT, Serguei Spitsyn 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:

Re: RFR: 8295964: Move InstanceKlass::_misc_flags

2022-10-27 Thread David Holmes
On Tue, 13 Sep 2022 13:29:45 GMT, Coleen Phillimore 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. Refactoring looks good. These are all the immutable flags right? (ie set once

Re: RFR: 8295964: Move InstanceKlass::_misc_flags

2022-10-27 Thread Serguei Spitsyn
On Tue, 13 Sep 2022 13:29:45 GMT, Coleen Phillimore 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. Nice refactoring and simplification. It looks good to me. Thanks, Serguei src

RFR: 8295964: Move InstanceKlass::_misc_flags

2022-10-27 Thread Coleen Phillimore
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. - Commit messages: - 8295964: Move InstanceKlass::_misc_flags Changes: https://git.openjdk.org/jdk/pull/10249/files Webrev: https:/