Mercurial > hg > truffle
diff src/share/vm/graal/graalCodeInstaller.cpp @ 3549:25765a764212
Add support for polling mark in code installer
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Fri, 19 Aug 2011 17:28:37 +0200 |
parents | e4616e3d207b |
children | aee1479c0a4b |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.cpp Wed Aug 17 13:40:36 2011 +0200 +++ b/src/share/vm/graal/graalCodeInstaller.cpp Fri Aug 19 17:28:37 2011 +0200 @@ -804,6 +804,12 @@ case MARK_IMPLICIT_NULL: _implicit_exception_table.append(pc_offset, pc_offset); break; + case MARK_POLL: + _instructions->relocate(instruction, relocInfo::poll_type); + break; + case MARK_POLL_RETURN: + _instructions->relocate(instruction, relocInfo::poll_return_type); + break; case MARK_KLASS_PATCHING: case MARK_ACCESS_FIELD_PATCHING: { unsigned char* byte_count = (unsigned char*) (instruction - 1);