Change in finalizers registration to prevent it for value classes. Tested tier1-4.
--------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - Re-enable tests - Merge remote-tracking branch 'upstream/lworld' into finalizer_registration - Full fix for testing with product builds - Fix test to run with product builds - Prevent registration of finalizers for value classes Changes: https://git.openjdk.org/valhalla/pull/2589/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2589&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8386972 Stats: 153 lines in 4 files changed: 149 ins; 2 del; 2 mod Patch: https://git.openjdk.org/valhalla/pull/2589.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2589/head:pull/2589 PR: https://git.openjdk.org/valhalla/pull/2589
