src/share/vm/oops/compiledICHolder.cpp

changeset 9185
82f9d3b7e317
parent 8997
f8a45a60bc6b
child 9203
53eec13fbaa5
     1.1 --- a/src/share/vm/oops/compiledICHolder.cpp	Mon Jan 08 08:32:04 2018 -0800
     1.2 +++ b/src/share/vm/oops/compiledICHolder.cpp	Fri Mar 30 20:09:45 2018 +0000
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -24,30 +24,12 @@
    1.11  
    1.12  #include "precompiled.hpp"
    1.13  #include "oops/compiledICHolder.hpp"
    1.14 -#include "oops/klass.hpp"
    1.15 -#include "oops/method.hpp"
    1.16  #include "oops/oop.inline2.hpp"
    1.17  
    1.18  volatile int CompiledICHolder::_live_count;
    1.19  volatile int CompiledICHolder::_live_not_claimed_count;
    1.20  
    1.21  
    1.22 -bool CompiledICHolder::is_loader_alive(BoolObjectClosure* is_alive) {
    1.23 -  if (_holder_metadata->is_method()) {
    1.24 -    if (!((Method*)_holder_metadata)->method_holder()->is_loader_alive(is_alive)) {
    1.25 -      return false;
    1.26 -    }
    1.27 -  } else if (_holder_metadata->is_klass()) {
    1.28 -    if (!((Klass*)_holder_metadata)->is_loader_alive(is_alive)) {
    1.29 -      return false;
    1.30 -    }
    1.31 -  }
    1.32 -  if (!_holder_klass->is_loader_alive(is_alive)) {
    1.33 -    return false;
    1.34 -  }
    1.35 -  return true;
    1.36 -}
    1.37 -
    1.38  // Printing
    1.39  
    1.40  void CompiledICHolder::print_on(outputStream* st) const {

mercurial