mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
Merge
This commit is contained in:
commit
3469a820b9
2 changed files with 3 additions and 2 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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
* @library /testlibrary
|
* @library /testlibrary
|
||||||
*
|
* @requires vm.flavor != "minimal"
|
||||||
* @run main/othervm/native -agentlib:SimpleClassFileLoadHook=Foo,XXX,YYY
|
* @run main/othervm/native -agentlib:SimpleClassFileLoadHook=Foo,XXX,YYY
|
||||||
* SimpleClassFileLoadHookTest
|
* SimpleClassFileLoadHookTest
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue