8016444: Duplicate zombie check in safe_for_sender
authorrbackman
Wed, 12 Jun 2013 09:49:42 +0200
changeset 18488 bdb9a7f641ac
parent 18487 270ef05ebce8
child 18489 8c798d5d60bf
8016444: Duplicate zombie check in safe_for_sender Reviewed-by: dholmes, sla
hotspot/src/cpu/sparc/vm/frame_sparc.cpp
hotspot/src/share/vm/memory/referenceProcessorStats.hpp
--- a/hotspot/src/cpu/sparc/vm/frame_sparc.cpp	Mon Jul 01 09:13:19 2013 +0000
+++ b/hotspot/src/cpu/sparc/vm/frame_sparc.cpp	Wed Jun 12 09:49:42 2013 +0200
@@ -257,11 +257,6 @@
       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
 
     frame sender(_SENDER_SP, younger_sp, adjusted_stack);
--- a/hotspot/src/share/vm/memory/referenceProcessorStats.hpp	Mon Jul 01 09:13:19 2013 +0000
+++ b/hotspot/src/share/vm/memory/referenceProcessorStats.hpp	Wed Jun 12 09:49:42 2013 +0200
@@ -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.
  *
  * This code is free software; you can redistribute it and/or modify it