Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
2090:2ddb2fab82cb | 2091:51bd2d261853 |
---|---|
1744 if (failing()) return; // Out of memory | 1744 if (failing()) return; // Out of memory |
1745 | 1745 |
1746 // Walk backwards over each basic block, computing the needed alignment | 1746 // Walk backwards over each basic block, computing the needed alignment |
1747 // Walk over all the basic blocks | 1747 // Walk over all the basic blocks |
1748 scheduling.DoScheduling(); | 1748 scheduling.DoScheduling(); |
1749 | |
1750 // Clear the BufferBlob used for scheduling. | |
1751 clear_scratch_buffer_blob(); | |
1752 } | 1749 } |
1753 | 1750 |
1754 //------------------------------ComputeLocalLatenciesForward------------------- | 1751 //------------------------------ComputeLocalLatenciesForward------------------- |
1755 // Compute the latency of all the instructions. This is fairly simple, | 1752 // Compute the latency of all the instructions. This is fairly simple, |
1756 // because we already have a legal ordering. Walk over the instructions | 1753 // because we already have a legal ordering. Walk over the instructions |