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

VS2017 Addition of Global Delete Operator with Size Parameter Conflicts with Arena's Chunk Provided One

XMLWordPrintable

    • b03
    • windows
    • Verified

        arena.cpp
        <directory>open/src/hotspot/share/adlc/arena.cpp(60): error C2956: sized deallocation function 'operator delete(void*, size_t)' would be chosen as placement deallocation function.
        <directory>/open/src/hotspot/share/adlc/arena.cpp(31): note: see declaration of 'Chunk::operator delete'
        <directory>open/src/hotspot/share/adlc/arena.cpp(67): error C2956: sized deallocation function 'operator delete(void*, size_t)' would be chosen as placement deallocation function.
        <directory>/open/src/hotspot/share/adlc/arena.cpp(31): note: see declaration of 'Chunk::operator delete'
        <directory>/open/src/hotspot/share/adlc/arena.cpp(97): error C2956: sized deallocation function 'operator delete(void*, size_t)' would be chosen as placement deallocation function.
        <directory>/open/src/hotspot/share/adlc/arena.cpp(31): note: see declaration of 'Chunk::operator delete'

              lfoltan Lois Foltan
              lfoltan Lois Foltan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: