diff src/share/vm/opto/output.cpp @ 2091:51bd2d261853

7008325: CodeCache exhausted on sparc starting from hs20b04 Summary: remove clear_scratch_buffer_blob and let init_scratch_buffer_blob free and allocate a new blob if required. Reviewed-by: twisti
author kvn
date Wed, 29 Dec 2010 10:41:43 -0800
parents 2f644f85485d
children 1c0cf339481b
line wrap: on
line diff
--- a/src/share/vm/opto/output.cpp	Tue Dec 28 17:34:02 2010 -0800
+++ b/src/share/vm/opto/output.cpp	Wed Dec 29 10:41:43 2010 -0800
@@ -1746,9 +1746,6 @@
   // Walk backwards over each basic block, computing the needed alignment
   // Walk over all the basic blocks
   scheduling.DoScheduling();
-
-  // Clear the BufferBlob used for scheduling.
-  clear_scratch_buffer_blob();
 }
 
 //------------------------------ComputeLocalLatenciesForward-------------------