--- a/hotspot/src/share/vm/ci/ciInstanceKlass.hpp Wed Oct 09 11:05:17 2013 -0700
+++ b/hotspot/src/share/vm/ci/ciInstanceKlass.hpp Wed Oct 09 16:32:21 2013 +0200
@@ -235,6 +235,13 @@
bool is_instance_klass() const { return true; }
bool is_java_klass() const { return true; }
+ virtual ciKlass* exact_klass() {
+ if (is_loaded() && is_final() && !is_interface()) {
+ return this;
+ }
+ return NULL;
+ }
+
// Dump the current state of this klass for compilation replay.
virtual void dump_replay_data(outputStream* out);
};