diff --git a/test/mjsunit/mjsunit.status b/test/mjsunit/mjsunit.status index 8e199946d1..8f53829425 100644 --- a/test/mjsunit/mjsunit.status +++ b/test/mjsunit/mjsunit.status @@ -304,6 +304,9 @@ 'unicodelctest': [PASS, NO_VARIANTS], 'unicodelctest-no-optimization': [PASS, NO_VARIANTS], + # TODO(jkummerow): Doesn't work correctly in GC stress. + 'regress/regress-crbug-500497': [PASS, NO_VARIANTS], + # Too slow for gc stress. 'asm/embenchen/box2d': [SKIP], diff --git a/test/mjsunit/regress/regress-crbug-500497.js b/test/mjsunit/regress/regress-crbug-500497.js index 2d3d40f0f7..9117440c2c 100644 --- a/test/mjsunit/regress/regress-crbug-500497.js +++ b/test/mjsunit/regress/regress-crbug-500497.js @@ -13,9 +13,6 @@ function Ctor() { } for (var i = 0; i < 120; i++) { - // This print() is important! Without it, in --gc-stress mode, the function - // Ctor is optimized too early. No idea why. - print(i); // Make the "a" property long-lived, while everything else is short-lived. global.push(Ctor().a); (function FillNewSpace() { new Array(10000); })();