8016444: Duplicate zombie check in safe_for_sender

Wed, 12 Jun 2013 09:49:42 +0200

author
rbackman
date
Wed, 12 Jun 2013 09:49:42 +0200
changeset 5334
acfa2cc19146
parent 5333
068b406e307f
child 5335
993dfb57c575

8016444: Duplicate zombie check in safe_for_sender
Reviewed-by: dholmes, sla

src/cpu/sparc/vm/frame_sparc.cpp file | annotate | diff | comparison | revisions
src/share/vm/memory/referenceProcessorStats.hpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/cpu/sparc/vm/frame_sparc.cpp	Mon Jul 01 09:13:19 2013 +0000
     1.2 +++ b/src/cpu/sparc/vm/frame_sparc.cpp	Wed Jun 12 09:49:42 2013 +0200
     1.3 @@ -257,11 +257,6 @@
     1.4        return false;
     1.5      }
     1.6  
     1.7 -    // Could be a zombie method
     1.8 -    if (sender_blob->is_zombie() || sender_blob->is_unloaded()) {
     1.9 -      return false;
    1.10 -    }
    1.11 -
    1.12      // It should be safe to construct the sender though it might not be valid
    1.13  
    1.14      frame sender(_SENDER_SP, younger_sp, adjusted_stack);
     2.1 --- a/src/share/vm/memory/referenceProcessorStats.hpp	Mon Jul 01 09:13:19 2013 +0000
     2.2 +++ b/src/share/vm/memory/referenceProcessorStats.hpp	Wed Jun 12 09:49:42 2013 +0200
     2.3 @@ -1,5 +1,5 @@
     2.4  /*
     2.5 - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
     2.6 + * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
     2.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     2.8   *
     2.9   * This code is free software; you can redistribute it and/or modify it

mercurial