# HG changeset patch # User rkennke # Date 1500909272 -7200 # Node ID cbfdbefc6ea33ef3e9c05d8f898ed371dbe5276a # Parent 99020a8905b6b6385384320a343cdb560119d202 8185102: TestSAServer.java fails due to "sun.jvm.hotspot.types.WrongTypeException: field "_stack_traversal_mark" Reviewed-by: dcubed, zgu diff -r 99020a8905b6 -r cbfdbefc6ea3 hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/code/NMethod.java --- a/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/code/NMethod.java Mon Jul 24 09:32:35 2017 -0400 +++ b/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/code/NMethod.java Mon Jul 24 17:14:32 2017 +0200 @@ -71,7 +71,7 @@ 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 JLongField stackTraversalMarkField; private static CIntegerField compLevelField; @@ -105,7 +105,7 @@ verifiedEntryPointField = type.getAddressField("_verified_entry_point"); osrEntryPointField = type.getAddressField("_osr_entry_point"); lockCountField = type.getJIntField("_lock_count"); - stackTraversalMarkField = type.getCIntegerField("_stack_traversal_mark"); + stackTraversalMarkField = type.getJLongField("_stack_traversal_mark"); compLevelField = type.getCIntegerField("_comp_level"); pcDescSize = db.lookupType("PcDesc").getSize(); }