This fixes the test issue. The order of checks in the failing test is corrected.
Testing: - Run test locally - In progress: submit mach5 tier-5 --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8384105: [lworld] serviceability/jvmti/valhalla/SampledObjectAllocValue/SampledObjectAllocValue.java fails after JDK-8382702 Changes: https://git.openjdk.org/valhalla/pull/2431/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2431&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8384105 Stats: 7 lines in 2 files changed: 3 ins; 4 del; 0 mod Patch: https://git.openjdk.org/valhalla/pull/2431.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2431/head:pull/2431 PR: https://git.openjdk.org/valhalla/pull/2431
