Improper std::nothrow new expression in NativeHeapTrimmerThread ctor

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: None
    • Component/s: hotspot
    • b16

      The NativeHeapTrimmerThread ctor uses a std::nothrow new expression to construct the associated lock. There is no checking of whether the lock was successufully created. Nearly all uses of that lock assume it is non-null (the one exception is when printing the state).

            Assignee:
            Guanqiang Han
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: