RFR(xs): [windows] small fixes to os::check_heap() (original) (raw)

Christian Tornqvist christian.tornqvist at oracle.com
Tue Nov 24 00:06:39 UTC 2015


Hi Thomas,

This looks good, thanks for fixing this.

Thanks, Christian

On Nov 18, 2015, at 11:40 AM, Thomas Stüfe <thomas.stuefe at gmail.com> wrote:

Hi all, could you please sponsor and review these tiny changes to os::checkheap() on windows: webrev: http://cr.openjdk.java.net/~stuefe/webrevs/8143233/webrev.00/webrev/ bug: https://bugs.openjdk.java.net/browse/JDK-8143233?filter=22798 Fixes two issues: - GetProcessHeap() is not necessarily the CRT heap, so we need to use getheaphandle(); instead - We need to always unlock the heap before exiting with fatal() in case we found an error. Kind Regards, Thomas



More information about the hotspot-runtime-dev mailing list