comparison src/share/vm/oops/methodOop.cpp @ 116:018d5b58dd4f

6537506: Provide a mechanism for specifying Java-level USDT-like dtrace probes Summary: Initial checkin of JSDT code Reviewed-by: acorn, sbohne
author kamg
date Thu, 17 Apr 2008 22:18:15 -0400
parents ba764ed4b6f2
children d1605aabd0a1
comparison
equal deleted inserted replaced
115:e7a91a357527 116:018d5b58dd4f
670 // ONLY USE the h_method now as make_adapter may have blocked 670 // ONLY USE the h_method now as make_adapter may have blocked
671 671
672 } 672 }
673 673
674 address methodOopDesc::make_adapters(methodHandle mh, TRAPS) { 674 address methodOopDesc::make_adapters(methodHandle mh, TRAPS) {
675 // If running -Xint we need no adapters.
676 if (Arguments::mode() == Arguments::_int) return NULL;
677
678 // Adapters for compiled code are made eagerly here. They are fairly 675 // Adapters for compiled code are made eagerly here. They are fairly
679 // small (generally < 100 bytes) and quick to make (and cached and shared) 676 // small (generally < 100 bytes) and quick to make (and cached and shared)
680 // so making them eagerly shouldn't be too expensive. 677 // so making them eagerly shouldn't be too expensive.
681 AdapterHandlerEntry* adapter = AdapterHandlerLibrary::get_adapter(mh); 678 AdapterHandlerEntry* adapter = AdapterHandlerLibrary::get_adapter(mh);
682 if (adapter == NULL ) { 679 if (adapter == NULL ) {