mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
7013008: 2/3 assert(method == NULL || check_method(method, bcp)) failed: bcp must point into method
The Relocator should pass a NULL methodOop when rewriting since its resource array can never contain breakpoints. Reviewed-by: dcubed, kvn, coleenp
This commit is contained in:
parent
5dc9441b0a
commit
f028816786
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ class Relocator : public ResourceObj {
|
|||
// get the address of in the code_array
|
||||
inline char* addr_at(int bci) const { return (char*) &code_array()[bci]; }
|
||||
|
||||
int instruction_length_at(int bci) { return Bytecodes::length_at(_method(), code_array() + bci); }
|
||||
int instruction_length_at(int bci) { return Bytecodes::length_at(NULL, code_array() + bci); }
|
||||
|
||||
// Helper methods
|
||||
int align(int n) const { return (n+3) & ~3; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue