comparison src/share/vm/runtime/javaCalls.cpp @ 22298:c28cb37b2e1d

Rename JVMCI to INCLUDE_JVMCI.
author twisti
date Wed, 22 Jul 2015 08:56:03 -0700
parents 0e095e2c24e2
children 4a532b03e2cd
comparison
equal deleted inserted replaced
22297:571202729bbf 22298:c28cb37b2e1d
38 #include "runtime/javaCalls.hpp" 38 #include "runtime/javaCalls.hpp"
39 #include "runtime/mutexLocker.hpp" 39 #include "runtime/mutexLocker.hpp"
40 #include "runtime/signature.hpp" 40 #include "runtime/signature.hpp"
41 #include "runtime/stubRoutines.hpp" 41 #include "runtime/stubRoutines.hpp"
42 #include "runtime/thread.inline.hpp" 42 #include "runtime/thread.inline.hpp"
43 #ifdef JVMCI 43 #if INCLUDE_JVMCI
44 #include "jvmci/jvmciJavaAccess.hpp" 44 #include "jvmci/jvmciJavaAccess.hpp"
45 #include "jvmci/jvmciRuntime.hpp" 45 #include "jvmci/jvmciRuntime.hpp"
46 #endif 46 #endif
47 47
48 // ----------------------------------------------------- 48 // -----------------------------------------------------
341 assert(!thread->handle_area()->no_handle_mark_active(), "cannot call out to Java here"); 341 assert(!thread->handle_area()->no_handle_mark_active(), "cannot call out to Java here");
342 342
343 343
344 CHECK_UNHANDLED_OOPS_ONLY(thread->clear_unhandled_oops();) 344 CHECK_UNHANDLED_OOPS_ONLY(thread->clear_unhandled_oops();)
345 345
346 #ifdef JVMCI 346 #if INCLUDE_JVMCI
347 nmethod* nm = args->alternative_target(); 347 nmethod* nm = args->alternative_target();
348 if (nm == NULL) { 348 if (nm == NULL) {
349 #endif 349 #endif
350 // Verify the arguments 350 // Verify the arguments
351 351
352 if (CheckJNICalls) { 352 if (CheckJNICalls) {
353 args->verify(method, result->get_type(), thread); 353 args->verify(method, result->get_type(), thread);
354 } 354 }
355 else debug_only(args->verify(method, result->get_type(), thread)); 355 else debug_only(args->verify(method, result->get_type(), thread));
356 #ifdef JVMCI 356 #if INCLUDE_JVMCI
357 } 357 }
358 #else 358 #else
359 359
360 // Ignore call if method is empty 360 // Ignore call if method is empty
361 if (method->is_empty_method()) { 361 if (method->is_empty_method()) {
416 } else { 416 } else {
417 // Touch pages checked if the OS needs them to be touched to be mapped. 417 // Touch pages checked if the OS needs them to be touched to be mapped.
418 os::bang_stack_shadow_pages(); 418 os::bang_stack_shadow_pages();
419 } 419 }
420 420
421 #ifdef JVMCI 421 #if INCLUDE_JVMCI
422 if (nm != NULL) { 422 if (nm != NULL) {
423 if (nm->is_alive()) { 423 if (nm->is_alive()) {
424 ((JavaThread*) THREAD)->set_jvmci_alternate_call_target(nm->verified_entry_point()); 424 ((JavaThread*) THREAD)->set_jvmci_alternate_call_target(nm->verified_entry_point());
425 entry_point = method->adapter()->get_i2c_entry(); 425 entry_point = method->adapter()->get_i2c_entry();
426 } else { 426 } else {