Mercurial > hg > graal-jvmci-8
comparison src/share/vm/interpreter/rewriter.hpp @ 7459:cc6a617fffd2
8005494: SIGSEGV in Rewriter::relocate_and_link() when testing Weblogic with CompressedOops and KlassPtrs
Summary: Relocate functions with jsr's when rewriting so not repeated after reading shared archive
Reviewed-by: twisti, jrose
author | coleenp |
---|---|
date | Wed, 02 Jan 2013 20:28:09 -0500 |
parents | f6b0eb4e44cf |
children | 41cb10cbfb3c |
comparison
equal
deleted
inserted
replaced
7458:4daebd4cc1dd | 7459:cc6a617fffd2 |
---|---|
156 | 156 |
157 static methodHandle rewrite_jsrs(methodHandle m, TRAPS); | 157 static methodHandle rewrite_jsrs(methodHandle m, TRAPS); |
158 public: | 158 public: |
159 // Driver routine: | 159 // Driver routine: |
160 static void rewrite(instanceKlassHandle klass, TRAPS); | 160 static void rewrite(instanceKlassHandle klass, TRAPS); |
161 static void rewrite(instanceKlassHandle klass, constantPoolHandle cpool, Array<Method*>* methods, TRAPS); | |
162 | |
163 // Second pass, not gated by is_rewritten flag | |
164 static void relocate_and_link(instanceKlassHandle klass, TRAPS); | |
165 // JSR292 version to call with it's own methods. | |
166 static void relocate_and_link(instanceKlassHandle klass, | |
167 Array<Method*>* methods, TRAPS); | |
168 | |
169 }; | 161 }; |
170 | 162 |
171 #endif // SHARE_VM_INTERPRETER_REWRITER_HPP | 163 #endif // SHARE_VM_INTERPRETER_REWRITER_HPP |