> I've been looking over the current state of ArrayKlass and the sub-classes > and made various cleanups and simplifications that I'd like to get integrated: > > * Type Universe::_objectArrayKlass as RefArrayKlass > * Remove dead flat array code in code in javaClasses.cpp > * Used is_refined_objArray_klass where appropriate > * Introduce is_unrefined_objArray for asserts and checks > * Restore code and whitespace changes compared to upstream > * Renamed faklass to fak in oops/ and GC code (I didn't touch other areas > that used that name) > * Devirtualized ObjArrayKlass::allocate_instance and simplified related code > * Moved ArrayKlass::_properties to after the variables for array dimensions. > * Made ArrayKlass::_properties const and non-settable > * Unified oop_iterate_elements_range implementations > * Added ShouldNotReachHere implementation of ObjArrayKlass::copy_array > * Removed redundant check in jniCheck.cpp and restored the file
Stefan Karlsson has updated the pull request incrementally with one additional commit since the last revision: THREAD to CHECK ------------- Changes: - all: https://git.openjdk.org/valhalla/pull/2207/files - new: https://git.openjdk.org/valhalla/pull/2207/files/531d7d01..7282a6b3 Webrevs: - full: https://webrevs.openjdk.org/?repo=valhalla&pr=2207&range=05 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=2207&range=04-05 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/valhalla/pull/2207.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2207/head:pull/2207 PR: https://git.openjdk.org/valhalla/pull/2207
