File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 4848 enum {
4949 _call_stub_size = 28 ,
5050 _exception_handler_size = DEBUG_ONLY (1 *K) NOT_DEBUG (175 ),
51- _deopt_handler_size = 10
51+ _deopt_handler_size = 7
5252 };
5353
5454public:
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ class NativeInstruction {
7373 s_char sbyte_at (int offset) const { return *(s_char*) addr_at (offset); }
7474 u_char ubyte_at (int offset) const { return *(u_char*) addr_at (offset); }
7575
76+ jshort short_at (int offset) const { return *(jshort*) addr_at (offset); }
7677 jint int_at (int offset) const { return *(jint*) addr_at (offset); }
7778
7879 intptr_t ptr_at (int offset) const { return *(intptr_t *) addr_at (offset); }
@@ -581,7 +582,7 @@ class NativePostCallNop: public NativeInstruction {
581582 displacement_offset = 4
582583 };
583584
584- bool check () const { return int_at (0 ) == 0x841f0f ; }
585+ bool check () const { return short_at (0 ) == 0x1f0f && short_at ( 2 ) == 0x0084 ; }
585586 bool decode (int32_t & oopmap_slot, int32_t & cb_offset) const {
586587 int32_t data = int_at (displacement_offset);
587588 if (data == 0 ) {
Original file line number Diff line number Diff line change @@ -2771,7 +2771,7 @@ class HandlerImpl {
27712771
27722772 static uint size_deopt_handler() {
27732773 // one call and one jmp.
2774- return 10 ;
2774+ return 7 ;
27752775 }
27762776};
27772777
You can’t perform that action at this time.
0 commit comments