ResourceObj::operator new(size_t, allocation_type) leaks memory

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 2.0
    • Component/s: hotspot
    • None
    • gc
    • generic
    • generic

      ResourceObj's can be allocated on the C heap by calling

          new(ResourceObj::C_HEAP) Foo(...)

      Unfortunately, there is then no way to recover the space that is
      allocated, because ResourceObj::operator delete(void*) is a noop.

      ###@###.### 2002-01-30

            Assignee:
            John Coomes (Inactive)
            Reporter:
            Peter Kessler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: