RFR: 8313752: InstanceKlassFlags::print_on doesn't print the flag names [v2]
Stefan Karlsson
stefank at openjdk.org
Tue Aug 8 09:54:49 UTC 2023
> I've found that our misc flags printing is broken. This can be seen in our hs_err files:
>
> RCX=0x00007f86bf0073c8 is a pointer to class:
> java.lang.Class {0x00007f86bf0073c8}
> - instance size: 22
> - klass size: 97
> - access: public final synchronized
> - flags: ##name ##name ##name ##name ##name ##name
>
>
> With this fix the flags are now printed as expected:
>
> java.util.Hashtable {0x00007f5fff00e8c0}
> - instance size: 8
> - klass size: 123
> - access: public synchronized
> - flags: rewritten has_nonstatic_fields has_nonstatic_concrete_methods is_shared_boot_class has_localvariable_table has_final_method
>
>
> The indentation doesn't look that great, so if you want me to change it I can do so in this patch as well.
Stefan Karlsson has updated the pull request incrementally with one additional commit since the last revision:
Tweak ouput
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/15153/files
- new: https://git.openjdk.org/jdk/pull/15153/files/beae18c2..1e879f92
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=15153&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=15153&range=00-01
Stats: 4 lines in 3 files changed: 0 ins; 1 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/15153.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/15153/head:pull/15153
PR: https://git.openjdk.org/jdk/pull/15153
More information about the hotspot-dev
mailing list