< prev index next >

src/share/vm/code/dependencies.cpp

Print this page
rev 9803 : 8146401: Clean up oop.hpp: add inline directives and fix header files

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2016, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -1948,5 +1948,12 @@
     deps_find_witness_print = -1;
     count_find_witness_calls();
   }
 }
 #endif
+
+CallSiteDepChange::CallSiteDepChange(Handle call_site, Handle method_handle) :
+  _call_site(call_site),
+  _method_handle(method_handle) {
+  assert(_call_site()    ->is_a(SystemDictionary::CallSite_klass()),     "must be");
+  assert(_method_handle.is_null() || _method_handle()->is_a(SystemDictionary::MethodHandle_klass()), "must be");
+}
< prev index next >