comparison src/share/vm/oops/methodOop.cpp @ 6152:958bb4b7be49

Merge
author asaha
date Tue, 10 Apr 2012 10:42:34 -0700
parents 0382d2b469b2
children 33df1aeaebbf 2fe087c3e814 e2fe93124108
comparison
equal deleted inserted replaced
6151:e778c29768e6 6152:958bb4b7be49
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 }