Mercurial > hg > graal-compiler
comparison src/share/vm/code/codeBlob.hpp @ 19462:33a783b15758
made use of Graal stubs instead of equivalent HotSpot stubs optional and off by default
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 18 Feb 2015 01:13:17 +0100 |
parents | ed29f7ff71eb |
children | be896a1983c0 |
comparison
equal
deleted
inserted
replaced
19461:501d2d0778c3 | 19462:33a783b15758 |
---|---|
356 int _unpack_with_reexecution; | 356 int _unpack_with_reexecution; |
357 | 357 |
358 int _unpack_with_exception_in_tls; | 358 int _unpack_with_exception_in_tls; |
359 | 359 |
360 #ifdef GRAAL | 360 #ifdef GRAAL |
361 // (thomaswue) Offset when Graal calls uncommon_trap. | |
362 int _uncommon_trap_offset; | |
361 int _implicit_exception_uncommon_trap_offset; | 363 int _implicit_exception_uncommon_trap_offset; |
362 #endif | 364 #endif |
363 | 365 |
364 // Creation support | 366 // Creation support |
365 DeoptimizationBlob( | 367 DeoptimizationBlob( |
413 assert(code_contains(code_begin() + _unpack_with_exception_in_tls), "must be PC inside codeblob"); | 415 assert(code_contains(code_begin() + _unpack_with_exception_in_tls), "must be PC inside codeblob"); |
414 } | 416 } |
415 address unpack_with_exception_in_tls() const { return code_begin() + _unpack_with_exception_in_tls; } | 417 address unpack_with_exception_in_tls() const { return code_begin() + _unpack_with_exception_in_tls; } |
416 | 418 |
417 #ifdef GRAAL | 419 #ifdef GRAAL |
420 // (thomaswue) Offset when Graal calls uncommon_trap. | |
421 void set_uncommon_trap_offset(int offset) { | |
422 _uncommon_trap_offset = offset; | |
423 assert(contains(code_begin() + _uncommon_trap_offset), "must be PC inside codeblob"); | |
424 } | |
425 address uncommon_trap() const { return code_begin() + _uncommon_trap_offset; } | |
426 | |
418 void set_implicit_exception_uncommon_trap_offset(int offset) { | 427 void set_implicit_exception_uncommon_trap_offset(int offset) { |
419 _implicit_exception_uncommon_trap_offset = offset; | 428 _implicit_exception_uncommon_trap_offset = offset; |
420 assert(contains(code_begin() + _implicit_exception_uncommon_trap_offset), "must be PC inside codeblob"); | 429 assert(contains(code_begin() + _implicit_exception_uncommon_trap_offset), "must be PC inside codeblob"); |
421 } | 430 } |
422 address implicit_exception_uncommon_trap() const { return code_begin() + _implicit_exception_uncommon_trap_offset; } | 431 address implicit_exception_uncommon_trap() const { return code_begin() + _implicit_exception_uncommon_trap_offset; } |