Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8337847

[GenShen] jdk.test.whitebox.Whitebox.isObjectInOldGen misreports

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • repo-shenandoah
    • hotspot

      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.

            ysr Y. Ramakrishna
            ysr Y. Ramakrishna
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                0m
                Logged:
                Time Not Required
                Not Specified