RFR: 8271063: Print injected fields for InstanceKlass [v3]
Yi Yang
yyang at openjdk.java.net
Thu Jul 22 12:28:46 UTC 2021
On Wed, 21 Jul 2021 20:20:13 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> I added code to print the injected fields in InstanceKlass. I also removed field offset sorting for do_nonstatic_fields because it's not necessary when used for purposes other than printing the fields. I also added a gtest.
>> Tested with tier1 all Oracle platforms, tier2-3 on linux-x64-debug, windows-x64-debug.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>
> Fix errant print
src/hotspot/share/oops/instanceKlass.cpp line 1641:
> 1639: }
> 1640:
> 1641: struct F {
Hi Coleen, is it possible to replace this with existing Pair structure(utilities/pair.hpp)?
-------------
PR: https://git.openjdk.java.net/jdk/pull/4858
More information about the hotspot-dev
mailing list