< prev index next >

src/os/windows/vm/vmError_windows.cpp

Print this page
rev 12508 : 8166944: Hanging Error Reporting steps may lead to torn error logs.
Reviewed-by: cjplummer, dholmes
Summary: Interupt error reporting if reporting steps hang to enable subsequent reporting steps to run.

*** 1,7 **** /* ! * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 64,68 **** --- 64,75 ---- } } } } } + + // Error reporting cancellation: there is no easy way to implement this on Windows, because we do + // not have an easy way to send signals to threads (aka to cause a win32 Exception in another + // thread). We would need something like "RaiseException(HANDLE thread)"... + void VMError::reporting_started() {} + void VMError::interrupt_reporting_thread() {} +
< prev index next >