Skip to content

Commit 86f6412

Browse files
committed
[GR-59645] Remove invalid assert
PullRequest: graal/19298
2 parents d8c4c3a + 79ff71f commit 86f6412

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/image/ImageHeapLayoutInfo.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ public ImageHeapLayoutInfo(long startOffset, long imageHeapSize, long writableOf
5656

5757
assert readOnlyRelocatableOffset + readOnlyRelocatableSize <= writablePatchedOffset : Assertions.errorMessage("the writable patched section is placed after the relocations",
5858
readOnlyRelocatableOffset, readOnlyRelocatableSize, writablePatchedOffset);
59-
assert writablePatchedOffset >= writableOffset && ((writablePatchedOffset + writablePatchedSize) <= (writableOffset + writableSize)) : Assertions
60-
.errorMessage("writable patched section must be fully contained in the writable section", writablePatchedOffset, writablePatchedSize, writableOffset, writableSize);
6159
}
6260

6361
public long getStartOffset() {

0 commit comments

Comments
 (0)