/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include "precompiled.hpp"
#include "classfile/javaClasses.hpp"
#include "gc_implementation/shared/markSweep.inline.hpp"
#include "gc_interface/collectedHeap.hpp"
#include "gc_interface/collectedHeap.inline.hpp"
#include "memory/permGen.hpp"
#include "memory/universe.inline.hpp"
#include "oops/compiledICHolderKlass.hpp"
#include "oops/oop.inline.hpp"
#include "oops/oop.inline2.hpp"
#include "runtime/handles.inline.hpp"
#ifndef SERIALGC
#include "oops/oop.pcgc.inline.hpp"
#endif
// Make sure size calculation is right
return k();
}
c->set_holder_method(NULL);
c->set_holder_klass(NULL);
return c;
}
}
obj->follow_header();
}
#ifndef SERIALGC
}
#endif // SERIALGC
// Get size before changing pointers.
// Don't call size() or oop_size() since that is a virtual call.
return size;
}
// Get size before changing pointers.
// Don't call size() or oop_size() since that is a virtual call.
adr = c->adr_holder_method();
adr = c->adr_holder_klass();
return size;
}
// Get size before changing pointers.
// Don't call size() or oop_size() since that is a virtual call.
obj->adjust_header();
return size;
}
#ifndef SERIALGC
}
return c->object_size();
}
#endif // SERIALGC
// Printing
}
}
return "{compiledICHolder}";
}
// Verification
}