mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8016444: Duplicate zombie check in safe_for_sender
Reviewed-by: dholmes, sla
This commit is contained in:
parent
8ce6e0db3d
commit
2977c8fca3
2 changed files with 1 additions and 6 deletions
|
@ -257,11 +257,6 @@ bool frame::safe_for_sender(JavaThread *thread) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Could be a zombie method
|
|
||||||
if (sender_blob->is_zombie() || sender_blob->is_unloaded()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// It should be safe to construct the sender though it might not be valid
|
// It should be safe to construct the sender though it might not be valid
|
||||||
|
|
||||||
frame sender(_SENDER_SP, younger_sp, adjusted_stack);
|
frame sender(_SENDER_SP, younger_sp, adjusted_stack);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue