Mercurial > hg > graal-compiler
diff src/share/vm/graal/graalCodeInstaller.hpp @ 10540:0ba44a5a8420
Add sanity check to avoid overwriting the reserved code buffer for very large methods.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 26 Jun 2013 15:22:11 +0200 |
parents | 67fa9b3e10ed |
children | 6ff467cdb105 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.hpp Wed Jun 26 15:17:17 2013 +0200 +++ b/src/share/vm/graal/graalCodeInstaller.hpp Wed Jun 26 15:22:11 2013 +0200 @@ -94,7 +94,7 @@ void initialize_assumptions(oop target_method); // perform data and call relocation on the CodeBuffer - void initialize_buffer(CodeBuffer& buffer); + bool initialize_buffer(CodeBuffer& buffer); void assumption_MethodContents(Handle assumption); void assumption_NoFinalizableSubclass(Handle assumption);