Fix type-O in "8159422: Very high Concurrent Mark mark stack contention"

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 10
    • Affects Version/s: 10
    • Component/s: hotspot
    • None
    • gc
    • b40

        In 8159422 MmapArrayAllocator::allocate_or_null was crafted by copying MmapArrayAllocator::allocate. The call to os::commit_memory_or_exit was changed to os::commit_memory. It was forgotten to remove the string containing the error message. The string is interpreted as a bool by the compiler, effectively calling the wrong commit_memory with signature (char*, size_t, size_t, bool) instead of (char*, size_t, bool)

              Assignee:
              Goetz Lindenmaier
              Reporter:
              Goetz Lindenmaier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: