Mercurial > hg > graal-compiler
changeset 19741:b53f87e24a7b
Truffle: deactivate assertion that is cause performance problems
author | Christian Wirth <christian.wirth@oracle.com> |
---|---|
date | Tue, 10 Mar 2015 09:22:10 +0100 |
parents | 415975c5550b |
children | 2d5d7da2d94b |
files | graal/com.oracle.truffle.object/src/com/oracle/truffle/object/ShapeImpl.java |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.object/src/com/oracle/truffle/object/ShapeImpl.java Mon Mar 09 13:11:36 2015 -0700 +++ b/graal/com.oracle.truffle.object/src/com/oracle/truffle/object/ShapeImpl.java Tue Mar 10 09:22:10 2015 +0100 @@ -354,7 +354,8 @@ private ShapeImpl addPropertyInternal(Property prop) { CompilerAsserts.neverPartOfCompilation(); assert prop.isShadow() || !(this.hasProperty(prop.getKey())) : "duplicate property " + prop.getKey(); - assert !getPropertyListInternal(false).contains(prop); + // assertion caused performance issues on e.g. testv8 regress-619.js + // assert !getPropertyListInternal(false).contains(prop); AddPropertyTransition addTransition = new AddPropertyTransition(prop); ShapeImpl cachedShape = queryTransition(addTransition);