Mercurial > hg > truffle
diff src/share/vm/graal/graalEnv.cpp @ 3664:6e1abd79e7c8
Register assumptions before anything else. Don't free code blob (it is reused).
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 17 Nov 2011 19:11:55 +0100 |
parents | d24f157f2ba8 |
children | f198b24093f3 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalEnv.cpp Thu Nov 17 18:33:33 2011 +0100 +++ b/src/share/vm/graal/graalEnv.cpp Thu Nov 17 19:11:55 2011 +0100 @@ -466,7 +466,7 @@ // All buffers in the CodeBuffer are allocated in the CodeCache. // If the code buffer is created on each compile attempt // as in C2, then it must be freed. - code_buffer->free_blob(); + //code_buffer->free_blob(); return NULL; } @@ -484,7 +484,7 @@ compiler, comp_level); // Free codeBlobs - code_buffer->free_blob(); + //code_buffer->free_blob(); // stress test 6243940 by immediately making the method // non-entrant behind the system's back. This has serious