Hi,

Please review this patch to add sorting to 
`FieldLayoutBuilder::inline_class_field_sorting`.

Additionally, we use `heapOopSize` to split the  big primitives and  small 
primitives so that we do not add inline classes with oops to small primitives 
and can remove `register_embedded_oops_from_list` for small primitives.

Testing: Tier 1-2 with --enable-preview

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

Commit messages:
 - sort _static_fields too
 - fix the sorting
 - Merge remote-tracking branch 'upstream/lworld' into heapOopSize
 - fix bug in UnsafeTest.java
 - Merge remote-tracking branch 'upstream/lworld' into heapOopSize
 - revert
 - use heapOopSize

Changes: https://git.openjdk.org/valhalla/pull/2213/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2213&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8379619
  Stats: 23 lines in 2 files changed: 5 ins; 2 del; 16 mod
  Patch: https://git.openjdk.org/valhalla/pull/2213.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2213/head:pull/2213

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

Reply via email to