hg: jdk9/hs/hotspot: 8173151: Code heap corruption due to incorrect inclusion test

zoltan.majo at oracle.com zoltan.majo at oracle.com
Fri Feb 10 09:05:46 UTC 2017


Changeset: ed9e29cd84f5
Author:    zmajo
Date:      2017-02-10 08:16 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs/hotspot/rev/ed9e29cd84f5

8173151: Code heap corruption due to incorrect inclusion test
Summary: Change inclusion test to use CodeBlob::code_begin() for AOT methods and start of CodeBlob otherwise. Added regression test.
Reviewed-by: thartmann, dlong, kvn

! src/share/vm/aot/aotCodeHeap.hpp
! src/share/vm/code/codeCache.cpp
! src/share/vm/code/codeCache.hpp
! src/share/vm/memory/heap.cpp
! src/share/vm/memory/heap.hpp
! src/share/vm/runtime/globals.hpp
+ test/compiler/codecache/stress/ReturnBlobToWrongHeapTest.java



More information about the jdk9-hs-changes mailing list