comparison src/share/vm/oops/methodOop.cpp @ 4970:33df1aeaebbf

Merge with http://hg.openjdk.java.net/hsx/hsx24/hotspot/
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Mon, 27 Feb 2012 13:10:13 +0100
parents 04b9a2566eec 0382d2b469b2
children 18a5539bf19b
comparison
equal deleted inserted replaced
4703:2cfb7fb2dce7 4970:33df1aeaebbf
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.
600 SharedRuntime::native_method_throw_unsatisfied_link_error_entry(), 600 SharedRuntime::native_method_throw_unsatisfied_link_error_entry(),
601 !native_bind_event_is_interesting); 601 !native_bind_event_is_interesting);
602 clear_code(); 602 clear_code();
603 } 603 }
604 604
605 address methodOopDesc::critical_native_function() {
606 methodHandle mh(this);
607 return NativeLookup::lookup_critical_entry(mh);
608 }
609
605 610
606 void methodOopDesc::set_signature_handler(address handler) { 611 void methodOopDesc::set_signature_handler(address handler) {
607 address* signature_handler = signature_handler_addr(); 612 address* signature_handler = signature_handler_addr();
608 *signature_handler = handler; 613 *signature_handler = handler;
609 } 614 }