hg: jdk7/hotspot-comp/hotspot: 6942326: x86 code in string_indexof() could read beyond reserved heap space
vladimir.kozlov at oracle.com
vladimir.kozlov at oracle.com
Sat Feb 26 14:19:31 PST 2011
Changeset: 41d4973cf100
Author: kvn
Date: 2011-02-26 12:10 -0800
URL: http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/41d4973cf100
6942326: x86 code in string_indexof() could read beyond reserved heap space
Summary: copy small (<8) strings on stack if str+16 crosses a page boundary and load from stack into XMM. Back up pointer when loading string's tail.
Reviewed-by: never
! src/cpu/x86/vm/assembler_x86.cpp
! src/cpu/x86/vm/assembler_x86.hpp
! src/cpu/x86/vm/x86_32.ad
! src/cpu/x86/vm/x86_64.ad
! src/share/vm/opto/library_call.cpp
! src/share/vm/opto/memnode.cpp
+ test/compiler/6942326/Test.java
More information about the hotspot-compiler-dev
mailing list