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

Allocation of more then 1G of memory using Unsafe.allocateMemory is still causing a fatal error on 32bit platforms

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u40, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b35
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Backports

        Description

        Even after integration of JDK-8055289 JVM crashes with:

        # Internal Error (mallocTracker.cpp:146), pid=4256, tid=3086310288
        # fatal error: Should not use malloc for big memory block, use virtual memory instead

        when someone is trying to allocate more then 1G of memory using Unsafe.allocateMemory still causing a fatal error on 32bit platforms.

        JDK-8055289 preserves us from such issue only when NMT is on, but MallocTracker::record_malloc is called even if NMT is off.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                coleenp Coleen Phillimore
                Reporter:
                fzhinkin Filipp Zhinkin
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: