Mercurial > hg > graal-jvmci-8
comparison src/share/vm/jvmci/jvmciCodeInstaller.cpp @ 22702:15013021dbfa
only install evol_method dependencies if JVMTI needs them
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 22 Oct 2015 12:43:42 +0200 |
parents | 939d5da65929 |
children | 316e768645c0 |
comparison
equal
deleted
inserted
replaced
22701:6b1cd334f300 | 22702:15013021dbfa |
---|---|
370 fatal("unexpected Assumption subclass"); | 370 fatal("unexpected Assumption subclass"); |
371 } | 371 } |
372 } | 372 } |
373 } | 373 } |
374 } | 374 } |
375 objArrayHandle methods = HotSpotCompiledCode::methods(compiled_code); | 375 if (JvmtiExport::can_hotswap_or_post_breakpoint()) { |
376 if (!methods.is_null()) { | 376 objArrayHandle methods = HotSpotCompiledCode::methods(compiled_code); |
377 int length = methods->length(); | 377 if (!methods.is_null()) { |
378 for (int i = 0; i < length; ++i) { | 378 int length = methods->length(); |
379 Handle method_handle = methods->obj_at(i); | 379 for (int i = 0; i < length; ++i) { |
380 methodHandle method = getMethodFromHotSpotMethod(method_handle()); | 380 Handle method_handle = methods->obj_at(i); |
381 _dependencies->assert_evol_method(method()); | 381 methodHandle method = getMethodFromHotSpotMethod(method_handle()); |
382 _dependencies->assert_evol_method(method()); | |
383 } | |
382 } | 384 } |
383 } | 385 } |
384 } | 386 } |
385 | 387 |
386 // constructor used to create a method | 388 // constructor used to create a method |