--- a/src/hotspot/share/oops/instanceKlass.hpp Thu Feb 08 08:38:42 2018 -0800
+++ b/src/hotspot/share/oops/instanceKlass.hpp Thu Feb 08 13:21:22 2018 -0500
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2018, 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
@@ -135,10 +135,7 @@
initialization_error // error happened during initialization
};
- static int number_of_instance_classes() { return _total_instanceKlass_count; }
-
private:
- static volatile int _total_instanceKlass_count;
static InstanceKlass* allocate_instance_klass(const ClassFileParser& parser, TRAPS);
protected: