diff src/share/vm/jvmci/jvmciRuntime.cpp @ 23322:f8178417d018

Expose SharedRuntime::throw_and_post_jvmti_exception to JVMCI compilers.
author Roland Schatz <roland.schatz@oracle.com>
date Mon, 14 Mar 2016 11:58:48 +0100
parents c1935b089c01
children 3b978b521c83
line wrap: on
line diff
--- a/src/share/vm/jvmci/jvmciRuntime.cpp	Mon Mar 14 14:19:51 2016 +0100
+++ b/src/share/vm/jvmci/jvmciRuntime.cpp	Mon Mar 14 11:58:48 2016 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 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
@@ -425,6 +425,10 @@
   }
 JRT_END
 
+JRT_ENTRY(void, JVMCIRuntime::throw_and_post_jvmti_exception(JavaThread* thread, Symbol* name, const char* message))
+  SharedRuntime::throw_and_post_jvmti_exception(thread, name, message);
+JRT_END
+
 JRT_LEAF(void, JVMCIRuntime::log_object(JavaThread* thread, oopDesc* obj, bool as_string, bool newline))
   ttyLocker ttyl;