RFR(xs): [windows] small fixes to os::check_heap() (original) (raw)
Thomas Stüfe thomas.stuefe at gmail.com
Wed Nov 18 16:40:48 UTC 2015
- Previous message: RFR: 8136978 Much nearly duplicated code for vmError support
- Next message: RFR(xs): [windows] small fixes to os::check_heap()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all,
could you please sponsor and review these tiny changes to os::check_heap() 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 _get_heap_handle(); instead
- We need to always unlock the heap before exiting with fatal() in case we found an error.
Kind Regards, Thomas
- Previous message: RFR: 8136978 Much nearly duplicated code for vmError support
- Next message: RFR(xs): [windows] small fixes to os::check_heap()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]