Skip to content

Commit 21803ff

Browse files
committed
ObjectHashMap do not allow to inline the boundary methods
1 parent 04f1c6c commit 21803ff

File tree

1 file changed

+2
-2
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/common

1 file changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/common/ObjectHashMap.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ private boolean keysEqual(int[] originalIndices, ThreadState state, int index, O
833833
* smaller than the old size if there were many dummy entries. The rehashing also removes the
834834
* dummy entries.
835835
*/
836-
@TruffleBoundary(allowInlining = true)
836+
@TruffleBoundary
837837
private void rehashAndPut(Object newKey, long newKeyHash, Object newValue) {
838838
int requiredIndicesSize = usedHashes * GROWTH_RATE;
839839
// We need the hash table of this size, in order to accommodate "requiredIndicesSize" items
@@ -867,7 +867,7 @@ private void rehashAndPut(Object newKey, long newKeyHash, Object newValue) {
867867
insertNewKey(localIndices, newKey, newKeyHash, newValue);
868868
}
869869

870-
@TruffleBoundary(allowInlining = true)
870+
@TruffleBoundary
871871
private void compact() {
872872
// shuffle[X] will tell us by how much value X found in 'indices' should be shuffled to left
873873
int[] shuffle = new int[hashes.length];

0 commit comments

Comments
 (0)