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

Improper std::nothrow new expression in NativeHeapTrimmerThread ctor

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • hotspot

      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).

            ghan Guanqiang Han
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: