src/share/vm/runtime/sharedRuntime.hpp

changeset 3500
0382d2b469b2
parent 3108
7588156f5cf9
child 3900
d2a62e0f25eb
     1.1 --- a/src/share/vm/runtime/sharedRuntime.hpp	Wed Feb 01 07:59:01 2012 -0800
     1.2 +++ b/src/share/vm/runtime/sharedRuntime.hpp	Wed Feb 01 16:57:08 2012 -0800
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -462,6 +462,9 @@
    1.11                                            VMRegPair *regs,
    1.12                                            BasicType ret_type );
    1.13  
    1.14 +  // Block before entering a JNI critical method
    1.15 +  static void block_for_jni_critical(JavaThread* thread);
    1.16 +
    1.17  #ifdef HAVE_DTRACE_H
    1.18    // Generate a dtrace wrapper for a given method.  The method takes arguments
    1.19    // in the Java compiled code convention, marshals them to the native

mercurial