8187597: WrongTypeException is occurred at CLHSDB jstack after JDK-8186837
Reviewed-by: rehn, cjplummer, dholmes
This commit is contained in:
parent
57590109cc
commit
070104325c
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -71,7 +71,7 @@ public class NMethod extends CompiledMethod {
|
|||||||
stack. An not_entrant method can be removed when there is no
|
stack. An not_entrant method can be removed when there is no
|
||||||
more activations, i.e., when the _stack_traversal_mark is less than
|
more activations, i.e., when the _stack_traversal_mark is less than
|
||||||
current sweep traversal index. */
|
current sweep traversal index. */
|
||||||
private static JLongField stackTraversalMarkField;
|
private static CIntegerField stackTraversalMarkField;
|
||||||
|
|
||||||
private static CIntegerField compLevelField;
|
private static CIntegerField compLevelField;
|
||||||
|
|
||||||
@ -105,7 +105,7 @@ public class NMethod extends CompiledMethod {
|
|||||||
verifiedEntryPointField = type.getAddressField("_verified_entry_point");
|
verifiedEntryPointField = type.getAddressField("_verified_entry_point");
|
||||||
osrEntryPointField = type.getAddressField("_osr_entry_point");
|
osrEntryPointField = type.getAddressField("_osr_entry_point");
|
||||||
lockCountField = type.getJIntField("_lock_count");
|
lockCountField = type.getJIntField("_lock_count");
|
||||||
stackTraversalMarkField = type.getJLongField("_stack_traversal_mark");
|
stackTraversalMarkField = type.getCIntegerField("_stack_traversal_mark");
|
||||||
compLevelField = type.getCIntegerField("_comp_level");
|
compLevelField = type.getCIntegerField("_comp_level");
|
||||||
pcDescSize = db.lookupType("PcDesc").getSize();
|
pcDescSize = db.lookupType("PcDesc").getSize();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user