hotspot/src/share/vm/oops/methodOop.cpp
changeset 11637 030466036615
parent 10537 23539f11e110
child 12959 4d33f9be7e87
child 12937 0032fb2caff6
equal deleted inserted replaced
11636:3c07b54482a5 11637:030466036615
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   594     SharedRuntime::native_method_throw_unsatisfied_link_error_entry(),
   594     SharedRuntime::native_method_throw_unsatisfied_link_error_entry(),
   595     !native_bind_event_is_interesting);
   595     !native_bind_event_is_interesting);
   596   clear_code();
   596   clear_code();
   597 }
   597 }
   598 
   598 
       
   599 address methodOopDesc::critical_native_function() {
       
   600   methodHandle mh(this);
       
   601   return NativeLookup::lookup_critical_entry(mh);
       
   602 }
       
   603 
   599 
   604 
   600 void methodOopDesc::set_signature_handler(address handler) {
   605 void methodOopDesc::set_signature_handler(address handler) {
   601   address* signature_handler =  signature_handler_addr();
   606   address* signature_handler =  signature_handler_addr();
   602   *signature_handler = handler;
   607   *signature_handler = handler;
   603 }
   608 }