rkennke [Fri, 19 May 2017 12:14:38 +0200] rev 46484
8180599: Possibly miss to iterate monitors on thread exit
Summary: Move thread-local monitors to global lists before thread is removed from global threads list, to ensure all monitors get scanned
Reviewed-by: dholmes, rehn