mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8165268: [BACKOUT] InstanceKlass::_previous_version_count goes negative
Reviewed-by: dcubed
This commit is contained in:
parent
584c5686be
commit
f03ab592cc
4 changed files with 8 additions and 74 deletions
|
@ -771,10 +771,7 @@ public:
|
|||
static int _previous_version_count;
|
||||
public:
|
||||
static void purge_previous_versions(InstanceKlass* ik);
|
||||
static bool has_previous_versions() {
|
||||
assert(_previous_version_count >= 0, "count should never be negative");
|
||||
return _previous_version_count > 0;
|
||||
}
|
||||
static bool has_previous_versions() { return _previous_version_count > 0; }
|
||||
|
||||
// JVMTI: Support for caching a class file before it is modified by an agent that can do retransformation
|
||||
void set_cached_class_file(JvmtiCachedClassFileData *data) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue