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

Add dereference layout paths to memory layout API

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • None
    • repo-panama
    • core-libs

    Description

      Layout paths can be used to access elements that are nested inside a given segment. This is useful, but does not cover cases where a segment might contain pointers to other segment. Consider this case:

      struct b {
         int x;
      };

      struct a {
          struct b *b;
      };

      It might be useful to have a way to refer to the layout path for "a->b.x".

      Attachments

        Issue Links

          Activity

            People

              mcimadamore Maurizio Cimadamore
              mcimadamore Maurizio Cimadamore
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: