1.1 --- a/src/share/vm/runtime/dtraceJSDT.cpp Fri Aug 31 16:39:35 2012 -0700 1.2 +++ b/src/share/vm/runtime/dtraceJSDT.cpp Sat Sep 01 13:25:18 2012 -0400 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 @@ -67,7 +67,7 @@ 1.11 assert(probe->name != NULL, "valid probe name"); 1.12 assert(probe->function != NULL, "valid probe function spec"); 1.13 methodHandle h_method = 1.14 - methodHandle(THREAD, JNIHandles::resolve_jmethod_id(probe->method)); 1.15 + methodHandle(THREAD, Method::resolve_jmethod_id(probe->method)); 1.16 nmethod* nm = AdapterHandlerLibrary::create_dtrace_nmethod(h_method); 1.17 if (nm == NULL) { 1.18 delete probes; 1.19 @@ -92,7 +92,7 @@ 1.20 } 1.21 1.22 jboolean DTraceJSDT::is_probe_enabled(jmethodID method) { 1.23 - methodOop m = JNIHandles::resolve_jmethod_id(method); 1.24 + Method* m = Method::resolve_jmethod_id(method); 1.25 return nativeInstruction_at(m->code()->trap_address())->is_dtrace_trap(); 1.26 } 1.27