< prev index next >

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/code/NMethod.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2000, 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. --- 1,7 ---- /* ! * Copyright (c) 2000, 2017, 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.
*** 69,79 **** /** not_entrant method removal. Each mark_sweep pass will update this mark to current sweep invocation count if it is seen on the stack. An not_entrant method can be removed when there is no more activations, i.e., when the _stack_traversal_mark is less than current sweep traversal index. */ ! private static JLongField stackTraversalMarkField; private static CIntegerField compLevelField; static { VM.registerVMInitializedObserver(new Observer() { --- 69,79 ---- /** not_entrant method removal. Each mark_sweep pass will update this mark to current sweep invocation count if it is seen on the stack. An not_entrant method can be removed when there is no more activations, i.e., when the _stack_traversal_mark is less than current sweep traversal index. */ ! private static CIntegerField stackTraversalMarkField; private static CIntegerField compLevelField; static { VM.registerVMInitializedObserver(new Observer() {
*** 103,113 **** nmethodEndOffsetField = type.getCIntegerField("_nmethod_end_offset"); entryPointField = type.getAddressField("_entry_point"); verifiedEntryPointField = type.getAddressField("_verified_entry_point"); osrEntryPointField = type.getAddressField("_osr_entry_point"); lockCountField = type.getJIntField("_lock_count"); ! stackTraversalMarkField = type.getJLongField("_stack_traversal_mark"); compLevelField = type.getCIntegerField("_comp_level"); pcDescSize = db.lookupType("PcDesc").getSize(); } public NMethod(Address addr) { --- 103,113 ---- nmethodEndOffsetField = type.getCIntegerField("_nmethod_end_offset"); entryPointField = type.getAddressField("_entry_point"); verifiedEntryPointField = type.getAddressField("_verified_entry_point"); osrEntryPointField = type.getAddressField("_osr_entry_point"); lockCountField = type.getJIntField("_lock_count"); ! stackTraversalMarkField = type.getCIntegerField("_stack_traversal_mark"); compLevelField = type.getCIntegerField("_comp_level"); pcDescSize = db.lookupType("PcDesc").getSize(); } public NMethod(Address addr) {
< prev index next >