Parallel: Relax precondition of PSOldGen::expand_and_allocate

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: 26
    • Component/s: hotspot
    • gc
    • master

      After JDK-8370943, the following precondition is too strong.
        assert(SafepointSynchronize::is_at_safepoint(), "precondition");
        assert(Thread::current()->is_VM_thread(), "precondition");

      One can check Heap_lock instead.

            Assignee:
            Albert Yang
            Reporter:
            Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: