On Fri, 28 Oct 2022 04:01:18 GMT, David Holmes <dhol...@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/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/InstanceKlass.java 
> line 129:
> 
>> 127: 
>> 128:     MISC_REWRITTEN                    = 
>> db.lookupIntConstant("InstanceKlass::_misc_rewritten").intValue();
>> 129:     MISC_HAS_NONSTATIC_FIELDS         = 
>> db.lookupIntConstant("InstanceKlass::_misc_has_nonstatic_fields").intValue();
> 
> These all seem to have been deleted rather than modified ??

Yes, they are unused by the SA and not really needed for core dump analysis 
unless someone finds a reason to see these.  If so, some support can be added 
at that time.  A better approach would be to have some python code to decode 
this in gdb if needed (probably only for scratch_class).

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

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

Reply via email to