Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8352747

Analyse Vector API access to segments in shared arenas

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • core-libs

      Vector API access to segments occurs using scoped memory access, see internal class ScopedMemoryAccess.

      The closing shared arenas results in HotSpot checking if non-closing threads are performing segment access within a critical region, namely calls to methods in ScopedMemoryAccess annotated with @Scoped. To determine this HotSpot walks up the stack to find a scoped method. This walk is bounded in size and will result in assert failure in debug builds if the size threshold is crossed.

      It is very likely that Vector API access to segments crosses the threshold, especially in the interpreter or C1 as vector segment access falls back to scalar segment access within the scoped region.

            igraves Ian Graves
            psandoz Paul Sandoz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: