Mercurial > hg > truffle
comparison src/cpu/zero/vm/stack_zero.hpp @ 1505:0c5b3cf3c1f5
6939182: Zero JNI handles fix
Summary: Zero will exit with an error when invoked with -Xcheck:jni.
Reviewed-by: twisti, kamg
Contributed-by: Gary Benson <gbenson@redhat.com>
author | twisti |
---|---|
date | Fri, 30 Apr 2010 04:27:25 -0700 |
parents | f9271ff9d324 |
children | 348346af6676 |
comparison
equal
deleted
inserted
replaced
1504:ae8f909e5fc7 | 1505:0c5b3cf3c1f5 |
---|---|
91 } | 91 } |
92 | 92 |
93 public: | 93 public: |
94 void overflow_check(int required_words, TRAPS); | 94 void overflow_check(int required_words, TRAPS); |
95 static void handle_overflow(TRAPS); | 95 static void handle_overflow(TRAPS); |
96 | |
97 public: | |
98 void zap(int c) PRODUCT_RETURN; | |
96 | 99 |
97 public: | 100 public: |
98 static ByteSize base_offset() { | 101 static ByteSize base_offset() { |
99 return byte_offset_of(ZeroStack, _base); | 102 return byte_offset_of(ZeroStack, _base); |
100 } | 103 } |