diff src/share/vm/ci/ciInstanceKlass.hpp @ 12875:d13d7aba8c12

8023657: New type profiling points: arguments to call Summary: x86 interpreter and c1 type profiling for arguments at calls Reviewed-by: kvn, twisti
author roland
date Wed, 09 Oct 2013 16:32:21 +0200
parents 6f3fd5150b67
children 4d3575d37a07
line wrap: on
line diff
--- a/src/share/vm/ci/ciInstanceKlass.hpp	Wed Oct 09 11:05:17 2013 -0700
+++ b/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);
 };