Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
3548:a218993d2087 | 3549:25765a764212 |
---|---|
802 _invoke_mark_pc = instruction; | 802 _invoke_mark_pc = instruction; |
803 break; | 803 break; |
804 case MARK_IMPLICIT_NULL: | 804 case MARK_IMPLICIT_NULL: |
805 _implicit_exception_table.append(pc_offset, pc_offset); | 805 _implicit_exception_table.append(pc_offset, pc_offset); |
806 break; | 806 break; |
807 case MARK_POLL: | |
808 _instructions->relocate(instruction, relocInfo::poll_type); | |
809 break; | |
810 case MARK_POLL_RETURN: | |
811 _instructions->relocate(instruction, relocInfo::poll_return_type); | |
812 break; | |
807 case MARK_KLASS_PATCHING: | 813 case MARK_KLASS_PATCHING: |
808 case MARK_ACCESS_FIELD_PATCHING: { | 814 case MARK_ACCESS_FIELD_PATCHING: { |
809 unsigned char* byte_count = (unsigned char*) (instruction - 1); | 815 unsigned char* byte_count = (unsigned char*) (instruction - 1); |
810 unsigned char* byte_skip = (unsigned char*) (instruction - 2); | 816 unsigned char* byte_skip = (unsigned char*) (instruction - 2); |
811 unsigned char* being_initialized_entry_offset = (unsigned char*) (instruction - 3); | 817 unsigned char* being_initialized_entry_offset = (unsigned char*) (instruction - 3); |