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

longSize is poorly named

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 18, 21, 24
    • 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).

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

              Created:
              Updated: