8165268: [BACKOUT] InstanceKlass::_previous_version_count goes negative

Reviewed-by: dcubed
This commit is contained in:
Coleen Phillimore 2016-09-01 18:02:13 -04:00
parent 584c5686be
commit f03ab592cc
4 changed files with 8 additions and 74 deletions

View file

@ -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) {