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

Remove calls to global ::operator new[] and new

XMLWordPrintable

    • b30

        There are some scattered calls to ::operator new[] and ::operator new, these may cause the c++ runtime to throw std::bad_alloc and cause the VM to shutdown without printing a diagnostic message.

        To verify that this has been fixed (on linux at leats) run something like the following (based on Ioi's suggestion)
        $ cd $HOTSPOT/build/linux/linux_amd64_compiler2/product
        $ for i in *.o; do nm $i > $i.nm; done
        $ egrep '((_Znwm)|(_Znam))' *.nm | c++filt

              minqi Yumin Qi
              mgerdin Mikael Gerdin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: