Mercurial > hg > truffle
comparison src/share/vm/code/nmethod.cpp @ 14968:169caf662ac7
removed diff to upstream HS repo made unnecessary by GRAAL-605
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 04 Apr 2014 12:05:41 +0200 |
parents | 4ca6dc0799b6 |
children | 2c940b1a48d8 |
comparison
equal
deleted
inserted
replaced
14967:661ba1474e0d | 14968:169caf662ac7 |
---|---|
1970 // If the method is not entrant or zombie then a JMP is plastered over the | 1970 // If the method is not entrant or zombie then a JMP is plastered over the |
1971 // first few bytes. If an oop in the old code was there, that oop | 1971 // first few bytes. If an oop in the old code was there, that oop |
1972 // should not get GC'd. Skip the first few bytes of oops on | 1972 // should not get GC'd. Skip the first few bytes of oops on |
1973 // not-entrant methods. | 1973 // not-entrant methods. |
1974 address low_boundary = verified_entry_point(); | 1974 address low_boundary = verified_entry_point(); |
1975 if (is_not_entrant() || is_zombie()) { | 1975 if (is_not_entrant()) { |
1976 low_boundary += NativeJump::instruction_size; | 1976 low_boundary += NativeJump::instruction_size; |
1977 // %%% Note: On SPARC we patch only a 4-byte trap, not a full NativeJump. | 1977 // %%% Note: On SPARC we patch only a 4-byte trap, not a full NativeJump. |
1978 // (See comment above.) | 1978 // (See comment above.) |
1979 } | 1979 } |
1980 | 1980 |