Mercurial > hg > graal-compiler
changeset 13101:790ebab62d23
Fix nmethod reloc scanning bug of zombie methods in G1
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Thu, 21 Nov 2013 15:04:26 +0100 |
parents | 99769479f9ce |
children | f9f4503a4ab5 |
files | src/share/vm/code/nmethod.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.cpp Fri Nov 15 11:20:18 2013 +0100 +++ b/src/share/vm/code/nmethod.cpp Thu Nov 21 15:04:26 2013 +0100 @@ -1982,7 +1982,7 @@ // should not get GC'd. Skip the first few bytes of oops on // not-entrant methods. address low_boundary = verified_entry_point(); - if (is_not_entrant()) { + if (is_not_entrant() || is_zombie()) { low_boundary += NativeJump::instruction_size; // %%% Note: On SPARC we patch only a 4-byte trap, not a full NativeJump. // (See comment above.)