< prev index next >

src/share/vm/classfile/classLoaderData.hpp

Print this page
rev 9803 : 8146401: Clean up oop.hpp: add inline directives and fix header files

*** 1,7 **** /* ! * Copyright (c) 2012, 2015, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2012, 2016, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 273,285 **** } // Used to make sure that this CLD is not unloaded. void set_keep_alive(bool value) { _keep_alive = value; } ! unsigned int identity_hash() const { ! return _class_loader == NULL ? 0 : _class_loader->identity_hash(); ! } // Used when tracing from klasses. void oops_do(OopClosure* f, KlassClosure* klass_closure, bool must_claim); void classes_do(KlassClosure* klass_closure); --- 273,283 ---- } // Used to make sure that this CLD is not unloaded. void set_keep_alive(bool value) { _keep_alive = value; } ! inline unsigned int identity_hash() const; // Used when tracing from klasses. void oops_do(OopClosure* f, KlassClosure* klass_closure, bool must_claim); void classes_do(KlassClosure* klass_closure);
< prev index next >