src/share/vm/asm/codeBuffer.cpp
*** 121,130 **** --- 121,134 ---- for (CodeBuffer* cb = this; cb != NULL; cb = cb->before_expand()) { // Previous incarnations of this buffer are held live, so that internal // addresses constructed before expansions will not be confused. cb->free_blob(); } + if (_overflow_arena != NULL) { + // free any overflow storage + delete _overflow_arena; + } #ifdef ASSERT Copy::fill_to_bytes(this, sizeof(*this), badResourceValue); #endif }