hg: graal/graal-jvmci-8: Let fetch_unroll_info override the exec_mode and handle rethrowing scopes

doug.simon at oracle.com doug.simon at oracle.com
Thu Oct 29 15:54:46 UTC 2015


Changeset: 3c1edc9c60d8
Author:    Gilles Duboscq <gilles.m.duboscq at oracle.com>
Date:      2015-10-29 16:11 +0100
URL:       http://hg.openjdk.java.net/graal/graal-jvmci-8/rev/3c1edc9c60d8

Let fetch_unroll_info override the exec_mode and handle rethrowing scopes

Scopes with rethrow_exception set to true need to be handled
for all types of deoptimization, not just for uncommon traps.
This change moves their handling from uncommon_trap_inner to
fetch_unroll_info_helper and uses exception_oop and exec_mode
Unpack_exception rather than setting a pending execption.
fetch_unroll_info_helper can now override the exec_mode by
passing it through the UnrollBlock.

! src/cpu/sparc/vm/sharedRuntime_sparc.cpp
! src/cpu/x86/vm/sharedRuntime_x86_64.cpp
! src/share/vm/runtime/deoptimization.cpp
! src/share/vm/runtime/deoptimization.hpp
! src/share/vm/shark/sharkRuntime.cpp



More information about the graal-dev mailing list