longSize is poorly named

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 18, 21, 24
    • Component/s: hotspot

      In globalDefinitions we have

      const int longSize = sizeof(jlong);
      const int jintSize = sizeof(jint);

      It seems like that should be jlongSize rather than longSize.

      Also note there are currently (2024-08-20) only 2 uses of longSize (in stubGenerator_x86_64_aes.cpp). It might be that those should instead be sizeof(uint64_t).

            Assignee:
            Unassigned
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: