hg: hsx/hotspot-rt/hotspot: 8027252: Crash in interpreter because get_unsigned_2_byte_index_at_bcp reads 4 bytes

mikael.gerdin at oracle.com mikael.gerdin at oracle.com
Wed Oct 30 08:57:16 PDT 2013


Changeset: ea79ab313e98
Author:    mgerdin
Date:      2013-10-30 15:35 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/ea79ab313e98

8027252: Crash in interpreter because get_unsigned_2_byte_index_at_bcp reads 4 bytes
Summary: Use 2-byte loads to load indexes from the byte code stream to avoid out of bounds reads.
Reviewed-by: coleenp, sspitsyn

! src/cpu/x86/vm/interp_masm_x86_32.cpp
! src/cpu/x86/vm/interp_masm_x86_64.cpp
! src/cpu/x86/vm/templateTable_x86_32.cpp
! src/cpu/x86/vm/templateTable_x86_64.cpp



More information about the serviceability-dev mailing list