Integrated: 8337847: [GenShen] jdk.test.whitebox.Whitebox.isObjectInOldGen misreports
Y. Srinivas Ramakrishna
ysr at openjdk.org
Wed Aug 7 14:48:52 UTC 2024
On Tue, 6 Aug 2024 01:32:00 GMT, Y. Srinivas Ramakrishna <ysr at openjdk.org> wrote:
> **Summary**
>
> The whitebox test method `jdk.test.whitebox.Whitebox.isObjectInOldGen` was not correctly implemented for GenShen. It reports only whether the object is in the heap, not whether it's in the old gen, which is its specification.
>
> Upon fixing the implementation for GenShen, a regression test was found to be too tight in insisting that a full GC should promote objects into the old generation. The test was fixed, for the case of GenShen, such that it would not insist on this behavior.
>
> **Testing:**
>
> - [x] GHA
> - [x] hotspot/jtreg
This pull request has now been integrated.
Changeset: 44f5995b
Author: Y. Srinivas Ramakrishna <ysr at openjdk.org>
URL: https://git.openjdk.org/shenandoah/commit/44f5995bf87cb2e82176f2393517e4a11447b516
Stats: 11 lines in 2 files changed: 9 ins; 0 del; 2 mod
8337847: [GenShen] jdk.test.whitebox.Whitebox.isObjectInOldGen misreports
Reviewed-by: kdnilsen
-------------
PR: https://git.openjdk.org/shenandoah/pull/466
More information about the shenandoah-dev
mailing list