The current lworld branch has code that visits the 
ObjArrayKlass::_element_klass. The element klass and the array klass are both 
allocated in the same CLD, so there's no need for the GC to spend extra work 
also trying to keep the element klass alive. 

The patch also contains some tiny reverts and cleanups that I saw while diffing 
the GC code in the lworld branch.

The patch depends on the #2207 so that needs to get reviewed before this can be 
integrated.

Tested with tier1-3

-------------

Depends on: https://git.openjdk.org/valhalla/pull/2207

Commit messages:
 - 8379847: [lworld] Remove added visit of array element klass from GC visitors

Changes: https://git.openjdk.org/valhalla/pull/2218/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2218&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8379847
  Stats: 31 lines in 10 files changed: 2 ins; 26 del; 3 mod
  Patch: https://git.openjdk.org/valhalla/pull/2218.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2218/head:pull/2218

PR: https://git.openjdk.org/valhalla/pull/2218

Reply via email to