Adds serialization misdeclaration events to JFR. -------------
Commit messages: - Make use of EventNames. - Merge branch 'master' into 8275338 - 8275338: Add JFR events for notable serialization situations Changes: https://git.openjdk.org/jdk/pull/17129/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17129&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8275338 Stats: 769 lines in 10 files changed: 769 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/17129.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/17129/head:pull/17129 PR: https://git.openjdk.org/jdk/pull/17129