On Fri, 27 Feb 2026 19:16:57 GMT, Frederic Parain <[email protected]> wrote:
> Small patch fixing a missing memory barrier in FlatArrayKlass::copy_array. > The unit test covers more scenario where a flat value has to be buffered > before to be written to another heap variable. So far, these tests haven't > shown any other issue (they were run repeatedly 50 times using Mach5). > > However, the unit test is quite heavy, testing 5 different scenarios, and > running each for 3 minutes, using all detected cores of the machine each > time. This might qualify this unit test as a "resourcehog" test, it then > should be moved to test/hotspot/jtreg/resourcehogs/ > > Fred This pull request has now been integrated. Changeset: 12012cc4 Author: Frederic Parain <[email protected]> URL: https://git.openjdk.org/valhalla/commit/12012cc409aeea603d779be86a5f02bf218d9576 Stats: 364 lines in 2 files changed: 364 ins; 0 del; 0 mod 8378862: [lworld] flatArrayKlass::copy_array is missing a memory barrier when copying from flat array to non-flat array Co-authored-by: Axel Boldt-Christmas <[email protected]> Reviewed-by: aboldtch, iwalulya, stefank ------------- PR: https://git.openjdk.org/valhalla/pull/2183
