Mercurial > hg > graal-jvmci-8
comparison src/share/vm/prims/jni.cpp @ 4070:6fd81579526f
7102044: G1: VM crashes with assert(old_end != new_end) failed: don't call this otherwise
Summary: arrayOopDesc::max_array_length() should return a value that does not overflow a size_t if it is converted to bytes.
Reviewed-by: kvn, dholmes
author | brutisso |
---|---|
date | Mon, 31 Oct 2011 08:01:20 +0100 |
parents | 436b4a3231bf |
children | 04b9a2566eec 3c648b9ad052 |
comparison
equal
deleted
inserted
replaced
4069:59519b7d7b9d | 4070:6fd81579526f |
---|---|
5040 #include "utilities/quickSort.hpp" | 5040 #include "utilities/quickSort.hpp" |
5041 | 5041 |
5042 void execute_internal_vm_tests() { | 5042 void execute_internal_vm_tests() { |
5043 if (ExecuteInternalVMTests) { | 5043 if (ExecuteInternalVMTests) { |
5044 assert(QuickSort::test_quick_sort(), "test_quick_sort failed"); | 5044 assert(QuickSort::test_quick_sort(), "test_quick_sort failed"); |
5045 tty->print_cr("All tests passed"); | 5045 assert(arrayOopDesc::test_max_array_length(), "test_max_array_length failed"); |
5046 tty->print_cr("All internal VM tests passed"); | |
5046 } | 5047 } |
5047 } | 5048 } |
5048 | 5049 |
5049 #endif | 5050 #endif |
5050 | 5051 |