Skip to content

Commit 5caf150

Browse files
committed
[GR-36286] Disable shape merging.
PullRequest: js/2293
2 parents fa0a6ba + 69017b8 commit 5caf150

File tree

1 file changed

+2
-2
lines changed
  • graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/runtime

1 file changed

+2
-2
lines changed

graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/runtime/JSConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -91,7 +91,7 @@ public final class JSConfig {
9191
/** Migrate objects to dictionary mode when the number of properties exceeds this threshold. */
9292
public static final int DictionaryObjectThreshold = 256;
9393
public static final int DictionaryObjectTransitionThreshold = 1024;
94-
public static final boolean MergeShapes = true;
94+
public static boolean MergeShapes = false;
9595
// GR-31859
9696
public static boolean MergeCompatibleLocations = true;
9797

0 commit comments

Comments
 (0)