mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8151805: fatal error: heap walk aborted with error 1
Reviewed-by: gtriantafill, dcubed
This commit is contained in:
parent
100d77bf15
commit
3b2bc5df71
1 changed files with 2 additions and 1 deletions
|
@ -5277,7 +5277,8 @@ bool os::check_heap(bool force) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DWORD err = GetLastError();
|
DWORD err = GetLastError();
|
||||||
if (err != ERROR_NO_MORE_ITEMS && err != ERROR_CALL_NOT_IMPLEMENTED) {
|
if (err != ERROR_NO_MORE_ITEMS && err != ERROR_CALL_NOT_IMPLEMENTED &&
|
||||||
|
(err == ERROR_INVALID_FUNCTION && phe.lpData != NULL)) {
|
||||||
HeapUnlock(heap);
|
HeapUnlock(heap);
|
||||||
fatal("heap walk aborted with error %d", err);
|
fatal("heap walk aborted with error %d", err);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue