diff options
Diffstat (limited to 'runtime/common_throws.h')
-rw-r--r-- | runtime/common_throws.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/common_throws.h b/runtime/common_throws.h index bbd76257bb..39c4e52b15 100644 --- a/runtime/common_throws.h +++ b/runtime/common_throws.h @@ -164,10 +164,10 @@ void ThrowNegativeArraySizeException(const char* msg) void ThrowNoSuchFieldError(const StringPiece& scope, mirror::Class* c, const StringPiece& type, const StringPiece& name) - SHARED_REQUIRES(Locks::mutator_lock_); + SHARED_REQUIRES(Locks::mutator_lock_) COLD_ATTR; void ThrowNoSuchFieldException(mirror::Class* c, const StringPiece& name) - SHARED_REQUIRES(Locks::mutator_lock_); + SHARED_REQUIRES(Locks::mutator_lock_) COLD_ATTR; // NoSuchMethodError @@ -204,6 +204,10 @@ void ThrowRuntimeException(const char* fmt, ...) __attribute__((__format__(__printf__, 1, 2))) SHARED_REQUIRES(Locks::mutator_lock_) COLD_ATTR; +// Stack overflow. + +void ThrowStackOverflowError(Thread* self) SHARED_REQUIRES(Locks::mutator_lock_) COLD_ATTR; + // VerifyError void ThrowVerifyError(mirror::Class* referrer, const char* fmt, ...) |