Mercurial > hg > graal-jvmci-8
comparison src/share/vm/prims/jni.cpp @ 20318:fa62fb12cdca
6311046: -Xcheck:jni should support checking of GetPrimitiveArrayCritical.
Summary: Wrapped memory with standard bounds checking "GuardedMemory".
Reviewed-by: zgu, fparain, dcubed
author | dsimms |
---|---|
date | Thu, 14 Aug 2014 15:16:07 +0200 |
parents | 76b588255908 |
children | 8ae0d26ab728 |
comparison
equal
deleted
inserted
replaced
20317:ee019285a52c | 20318:fa62fb12cdca |
---|---|
5062 #include "gc_implementation/shared/gcTimer.hpp" | 5062 #include "gc_implementation/shared/gcTimer.hpp" |
5063 #include "gc_interface/collectedHeap.hpp" | 5063 #include "gc_interface/collectedHeap.hpp" |
5064 #if INCLUDE_ALL_GCS | 5064 #if INCLUDE_ALL_GCS |
5065 #include "gc_implementation/g1/heapRegionRemSet.hpp" | 5065 #include "gc_implementation/g1/heapRegionRemSet.hpp" |
5066 #endif | 5066 #endif |
5067 #include "memory/guardedMemory.hpp" | |
5067 #include "utilities/quickSort.hpp" | 5068 #include "utilities/quickSort.hpp" |
5068 #include "utilities/ostream.hpp" | 5069 #include "utilities/ostream.hpp" |
5069 #if INCLUDE_VM_STRUCTS | 5070 #if INCLUDE_VM_STRUCTS |
5070 #include "runtime/vmStructs.hpp" | 5071 #include "runtime/vmStructs.hpp" |
5071 #endif | 5072 #endif |
5102 run_unit_test(GlobalDefinitions::test_globals()); | 5103 run_unit_test(GlobalDefinitions::test_globals()); |
5103 run_unit_test(GCTimerAllTest::all()); | 5104 run_unit_test(GCTimerAllTest::all()); |
5104 run_unit_test(arrayOopDesc::test_max_array_length()); | 5105 run_unit_test(arrayOopDesc::test_max_array_length()); |
5105 run_unit_test(CollectedHeap::test_is_in()); | 5106 run_unit_test(CollectedHeap::test_is_in()); |
5106 run_unit_test(QuickSort::test_quick_sort()); | 5107 run_unit_test(QuickSort::test_quick_sort()); |
5108 run_unit_test(GuardedMemory::test_guarded_memory()); | |
5107 run_unit_test(AltHashing::test_alt_hash()); | 5109 run_unit_test(AltHashing::test_alt_hash()); |
5108 run_unit_test(test_loggc_filename()); | 5110 run_unit_test(test_loggc_filename()); |
5109 run_unit_test(TestNewSize_test()); | 5111 run_unit_test(TestNewSize_test()); |
5110 run_unit_test(TestKlass_test()); | 5112 run_unit_test(TestKlass_test()); |
5111 #if INCLUDE_VM_STRUCTS | 5113 #if INCLUDE_VM_STRUCTS |