< prev index next >

src/share/vm/oops/method.hpp

Print this page

        

*** 620,630 **** // NOTE: code() is inherently racy as deopt can be clearing code // simultaneously. Use with caution. bool has_compiled_code() const { return code() != NULL; } // sizing ! static int header_size() { return sizeof(Method)/HeapWordSize; } static int size(bool is_native); int size() const { return method_size(); } #if INCLUDE_SERVICES void collect_statistics(KlassSizeStats *sz) const; #endif --- 620,630 ---- // NOTE: code() is inherently racy as deopt can be clearing code // simultaneously. Use with caution. bool has_compiled_code() const { return code() != NULL; } // sizing ! static int header_size() { return sizeof(Method)/wordSize; } static int size(bool is_native); int size() const { return method_size(); } #if INCLUDE_SERVICES void collect_statistics(KlassSizeStats *sz) const; #endif
< prev index next >