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

StackFrameInfo::walker field can be replaced with bitmap to save footprint

XMLWordPrintable

    • b33

      StackFrameInfo::walker field is used to determine if the StackWalker retains Class reference and StackFrame::getDeclaringClass can throw UOE if no access.

      StackFrameInfo can have a bitmap and store the capability in the bitmap. The BCI is a short and the bitmap may just use the padding due to the alignment. This way it will save some memory footprint.

            bchristi Brent Christian
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: