src/hotspot/share/code/codeCache.hpp
changeset 47688 3d1e3786d66e
parent 47624 b055cb5170f5
child 48119 c1b46afab3ba
--- a/src/hotspot/share/code/codeCache.hpp	Sun Oct 15 22:54:03 2017 +0200
+++ b/src/hotspot/share/code/codeCache.hpp	Mon Sep 04 19:50:01 2017 +0200
@@ -143,6 +143,7 @@
   static int  alignment_unit();                            // guaranteed alignment of all CodeBlobs
   static int  alignment_offset();                          // guaranteed offset of first CodeBlob byte within alignment unit (i.e., allocation header)
   static void free(CodeBlob* cb);                          // frees a CodeBlob
+  static void free_unused_tail(CodeBlob* cb, size_t used); // frees the unused tail of a CodeBlob (only used by TemplateInterpreter::initialize())
   static bool contains(void *p);                           // returns whether p is included
   static bool contains(nmethod* nm);                       // returns whether nm is included
   static void blobs_do(void f(CodeBlob* cb));              // iterates over all CodeBlobs