mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8259486: Replace PreserveExceptionMark with implementation for CautiouslyPreserveExceptionMark
Reviewed-by: dholmes, sspitsyn
This commit is contained in:
parent
ce94512087
commit
535f2da5e2
14 changed files with 51 additions and 100 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2021, 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
|
||||
|
@ -739,7 +739,7 @@ JRT_LEAF(BasicType, Deoptimization::unpack_frames(JavaThread* thread, int exec_m
|
|||
if (VerifyStack) {
|
||||
ResourceMark res_mark;
|
||||
// Clear pending exception to not break verification code (restored afterwards)
|
||||
PRESERVE_EXCEPTION_MARK;
|
||||
PreserveExceptionMark pm(thread);
|
||||
|
||||
thread->validate_frame_layout();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue