Skip to content

Commit a7bfced

Browse files
nelanbuVladimir Kozlov
authored and
Vladimir Kozlov
committedSep 27, 2024
8337679: Memset warning in src/hotspot/share/adlc/adlArena.cpp
Reviewed-by: stefank, thartmann, jwaters
1 parent f554c3f commit a7bfced

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎src/hotspot/share/adlc/adlArena.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ void AdlChunk::chop() {
6363
AdlChunk *k = this;
6464
while( k ) {
6565
AdlChunk *tmp = k->_next;
66-
// clear out this chunk (to detect allocation bugs)
67-
memset(k, 0xBE, k->_len);
6866
free(k); // Free chunk (was malloc'd)
6967
k = tmp;
7068
}

0 commit comments

Comments
 (0)
Please sign in to comment.