1.1 --- a/src/share/vm/prims/nativeLookup.hpp Wed Feb 01 07:59:01 2012 -0800 1.2 +++ b/src/share/vm/prims/nativeLookup.hpp Wed Feb 01 16:57:08 2012 -0800 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2010, 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 @@ -36,15 +36,18 @@ 1.11 // JNI name computation 1.12 static char* pure_jni_name(methodHandle method); 1.13 static char* long_jni_name(methodHandle method); 1.14 + static char* critical_jni_name(methodHandle method); 1.15 1.16 // Style specific lookup 1.17 static address lookup_style(methodHandle method, char* pure_name, const char* long_name, int args_size, bool os_style, bool& in_base_library, TRAPS); 1.18 + static address lookup_critical_style(methodHandle method, char* pure_name, const char* long_name, int args_size, bool os_style); 1.19 static address lookup_base (methodHandle method, bool& in_base_library, TRAPS); 1.20 static address lookup_entry(methodHandle method, bool& in_base_library, TRAPS); 1.21 static address lookup_entry_prefixed(methodHandle method, bool& in_base_library, TRAPS); 1.22 public: 1.23 // Lookup native function. May throw UnsatisfiedLinkError. 1.24 static address lookup(methodHandle method, bool& in_base_library, TRAPS); 1.25 + static address lookup_critical_entry(methodHandle method); 1.26 1.27 // Lookup native functions in base library. 1.28 static address base_library_lookup(const char* class_name, const char* method_name, const char* signature);