Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalEnv.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 | 700f6a63763a |
children | f294b4ee2d47 |
comparison
equal
deleted
inserted
replaced
10539:5d460d3465fd | 10540:0ba44a5a8420 |
---|---|
60 | 60 |
61 // Must be kept in sync with the enum in the HotSpot implementation of CompilerToVM | 61 // Must be kept in sync with the enum in the HotSpot implementation of CompilerToVM |
62 enum CodeInstallResult { | 62 enum CodeInstallResult { |
63 ok, | 63 ok, |
64 dependencies_failed, | 64 dependencies_failed, |
65 cache_full | 65 cache_full, |
66 code_too_large | |
66 }; | 67 }; |
67 | 68 |
68 // Look up a klass by name from a particular class loader (the accessor's). | 69 // Look up a klass by name from a particular class loader (the accessor's). |
69 // If require_local, result must be defined in that class loader, or NULL. | 70 // If require_local, result must be defined in that class loader, or NULL. |
70 // If !require_local, a result from remote class loader may be reported, | 71 // If !require_local, a result from remote class loader may be reported, |