Mercurial > hg > graal-jvmci-8
comparison src/share/vm/code/codeBlob.hpp @ 2605:98fa88528319
Deopt on implicit null pointer exception.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Fri, 06 May 2011 16:20:56 +0200 |
parents | 9508a52cbd32 |
children | 75a99b4f1c98 |
comparison
equal
deleted
inserted
replaced
2604:c9b17ac5c06b | 2605:98fa88528319 |
---|---|
352 | 352 |
353 int _unpack_with_exception_in_tls; | 353 int _unpack_with_exception_in_tls; |
354 | 354 |
355 // (tw) Offset when C1X calls uncommon_trap. | 355 // (tw) Offset when C1X calls uncommon_trap. |
356 int _uncommon_trap_offset; | 356 int _uncommon_trap_offset; |
357 int _jmp_uncommon_trap_offset; | |
357 | 358 |
358 | 359 |
359 // Creation support | 360 // Creation support |
360 DeoptimizationBlob( | 361 DeoptimizationBlob( |
361 CodeBuffer* cb, | 362 CodeBuffer* cb, |
416 void set_uncommon_trap_offset(int offset) { | 417 void set_uncommon_trap_offset(int offset) { |
417 _uncommon_trap_offset = offset; | 418 _uncommon_trap_offset = offset; |
418 assert(contains(code_begin() + _uncommon_trap_offset), "must be PC inside codeblob"); | 419 assert(contains(code_begin() + _uncommon_trap_offset), "must be PC inside codeblob"); |
419 } | 420 } |
420 address uncommon_trap() const { return code_begin() + _uncommon_trap_offset; } | 421 address uncommon_trap() const { return code_begin() + _uncommon_trap_offset; } |
422 void set_jmp_uncommon_trap_offset(int offset) { | |
423 _jmp_uncommon_trap_offset = offset; | |
424 assert(contains(code_begin() + _jmp_uncommon_trap_offset), "must be PC inside codeblob"); | |
425 } | |
426 address jmp_uncommon_trap() const { return code_begin() + _jmp_uncommon_trap_offset; } | |
421 | 427 |
422 }; | 428 }; |
423 | 429 |
424 | 430 |
425 //---------------------------------------------------------------------------------------------------- | 431 //---------------------------------------------------------------------------------------------------- |