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

Allow different styles of java object fields allocation

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • hs10
    • 7
    • hotspot
    • None
    • b12
    • sparc
    • solaris_9

        Currently HotSpot VM allocate java object fileds according to thir type
        in the next order:

        oops (32-bits for LP32, 64-bits for LP64)
        long/double (64-bits fileds)
        int/float (32-bits fileds)
        short/char (16-bits fileds)
        byte ( 8-bits fileds)

        The other stype could be source based.

        Also we could compact fields by placeing them into gaps between fields in super class.

              kvn Vladimir Kozlov
              kvn Vladimir Kozlov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: