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

Premature GC and invalid lgrp selection with NUMA-aware allocator.

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • hs13
    • 7
    • hotspot
    • None
    • gc
    • b01
    • generic
    • generic

        Premature GC will happen after a call to MutableNUMASpace::ensure_parsibility().
        Also on a machine with specific configuration an invalid lgrp selection can occur. For example of arches.sfbay there are two leaf locality group associated with each CPU. But only one of them has memory. The resulting lgrp graph is as follows:
        1 (CM) <- 0 (CM) -> 2 (C)
        where attributes in parenthesis are C - CPU, M - memory.

        With such a configuration Solaris always selects group 0 as a home group for all LWPs.
        This situation was not handled correctly and a random leaf group was selected.
        Combined with incorrect tops adjustment random selection can select a chunk with no free space. Should such an event happen during VM initialization a crash occurs.

              iveresov Igor Veresov
              iveresov Igor Veresov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: