Mercurial > hg > truffle
comparison src/share/vm/compiler/oopMap.cpp @ 3464:be4ca325525a
Merge.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 27 Jul 2011 17:32:44 -0700 |
parents | 50b45e2d9725 f7d55ea6ee56 |
children | 18a5539bf19b |
comparison
equal
deleted
inserted
replaced
3239:7c4b4daac19b | 3464:be4ca325525a |
---|---|
636 assert(derived_loc != base_loc, "Base and derived in same location"); | 636 assert(derived_loc != base_loc, "Base and derived in same location"); |
637 if (_active) { | 637 if (_active) { |
638 assert(*derived_loc != (oop)base_loc, "location already added"); | 638 assert(*derived_loc != (oop)base_loc, "location already added"); |
639 assert(_list != NULL, "list must exist"); | 639 assert(_list != NULL, "list must exist"); |
640 intptr_t offset = value_of_loc(derived_loc) - value_of_loc(base_loc); | 640 intptr_t offset = value_of_loc(derived_loc) - value_of_loc(base_loc); |
641 assert(offset >= -1000000, "wrong derived pointer info"); | 641 // This assert is invalid because derived pointers can be |
642 // arbitrarily far away from their base. | |
643 // assert(offset >= -1000000, "wrong derived pointer info"); | |
642 | 644 |
643 if (TraceDerivedPointers) { | 645 if (TraceDerivedPointers) { |
644 tty->print_cr( | 646 tty->print_cr( |
645 "Add derived pointer@" INTPTR_FORMAT | 647 "Add derived pointer@" INTPTR_FORMAT |
646 " - Derived: " INTPTR_FORMAT | 648 " - Derived: " INTPTR_FORMAT |