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

[Lilliput] Use realloc instead of malloc+copy when growing the lock-stack

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • repo-lilliput
    • repo-lilliput
    • hotspot
    • generic
    • generic

      We currently grow the fast-locking lock-stack by allocating a larger stack and copying over all elements. This can be done simpler and more efficient by using realloc instead of malloc+copy.

            rkennke Roman Kennke
            rkennke Roman Kennke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: