< prev index next >

src/hotspot/share/interpreter/oopMapCache.cpp

Print this page
@@ -596,7 +596,7 @@
    // Due to the invariants above it's tricky to allocate a temporary OopMapCacheEntry on the stack
    OopMapCacheEntry* tmp = NEW_C_HEAP_OBJ(OopMapCacheEntry, mtClass);
    tmp->initialize();
    tmp->fill(method, bci);
    entry->resource_copy(tmp);
-   FREE_C_HEAP_ARRAY(OopMapCacheEntry, tmp);
+   FREE_C_HEAP_OBJ(tmp);
  }
< prev index next >