comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationTask.java @ 21558:d563baeca9df

changed uses of Graal terminology to JVMCI (JBS:GRAAL-53)
author Doug Simon <doug.simon@oracle.com>
date Wed, 27 May 2015 13:43:27 +0200
parents 48c1ebd24120
children be896a1983c0
comparison
equal deleted inserted replaced
21557:31fc2fce38f3 21558:d563baeca9df
356 * 356 *
357 * Called from the VM. 357 * Called from the VM.
358 * 358 *
359 * @param metaspaceMethod 359 * @param metaspaceMethod
360 * @param entryBCI 360 * @param entryBCI
361 * @param graalEnv address of native GraalEnv object 361 * @param jvmciEnv address of native GraalEnv object
362 * @param id CompileTask::_compile_id 362 * @param id CompileTask::_compile_id
363 */ 363 */
364 @SuppressWarnings("unused") 364 @SuppressWarnings("unused")
365 private static void compileMetaspaceMethod(long metaspaceMethod, int entryBCI, long graalEnv, int id) { 365 private static void compileMetaspaceMethod(long metaspaceMethod, int entryBCI, long jvmciEnv, int id) {
366 // Ensure a Graal runtime is initialized prior to Debug being initialized as the former 366 // Ensure a Graal runtime is initialized prior to Debug being initialized as the former
367 // may include processing command line options used by the latter. 367 // may include processing command line options used by the latter.
368 Graal.getRuntime(); 368 Graal.getRuntime();
369 369
370 // Ensure a debug configuration for this thread is initialized 370 // Ensure a debug configuration for this thread is initialized
371 if (Debug.isEnabled() && DebugScope.getConfig() == null) { 371 if (Debug.isEnabled() && DebugScope.getConfig() == null) {
372 DebugEnvironment.initialize(TTY.cachedOut); 372 DebugEnvironment.initialize(TTY.cachedOut);
373 } 373 }
374 374
375 HotSpotResolvedJavaMethod method = HotSpotResolvedJavaMethodImpl.fromMetaspace(metaspaceMethod); 375 HotSpotResolvedJavaMethod method = HotSpotResolvedJavaMethodImpl.fromMetaspace(metaspaceMethod);
376 compileMethod(method, entryBCI, graalEnv, id); 376 compileMethod(method, entryBCI, jvmciEnv, id);
377 } 377 }
378 378
379 /** 379 /**
380 * Compiles a method to machine code. 380 * Compiles a method to machine code.
381 */ 381 */