[jdk11u-dev] RFR: 8265980: Fix systemDictionary and loaderConstraints printing
Kimura Yukihiro
duke at openjdk.org
Fri Jun 16 00:40:51 UTC 2023
On Fri, 9 Jun 2023 02:25:42 GMT, Kimura Yukihiro <duke at openjdk.org> wrote:
> I would like to backport
> JDK-8265980 Fix systemDictionary and loaderConstraints printing
> Because the systemDictionary infomation is important for develoers or users to maintain JVM.
> I would appriciate if someone could review it.
Hello Paul,
Thank you for the review.
The original patch does not apply cleanly to 11u.
dictionary.cpp:
Removing an new line character in DictionaryEntry::print_count() is unnecessary because print_count() is not called from Dictionary::print_on() in JDK11,
hence adding an new line character after print_count() in DictionaryEntry::add_protection_domain() is unnecessary.
If the specification of DictionaryEntry::print_count() should be the same for respecting the original commit, I will fix it.
systemDictionary.cpp/hpp:
These are the fix related to JDK-8259839, but which are not backported to JDK11.
Therefore, I didn't apply this fix.
loaderConstraints.hpp, DumpSymbolAndStringTable.java:
I applied the original commit.
Thanks,
Kimura Yukihiro
-------------
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/1938#issuecomment-1593886884
More information about the jdk-updates-dev
mailing list