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

Misuse of Abstract_VM_Version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • hotspot
    • None
    • generic
    • generic

      There are roughly 40 places in Hotspot code (outside the VM_Version implementation) where Abstract_VM_Version is used directly, rather than using VM_Version.

      searchhg "Abstract_VM_Version::" | egrep -v "vm_version[[:alnum:]_]*.[ch]pp:" | wc -l

      Clients of the VM_Version infrastructure should always use VM_Version qualification, never Abstract_VM_Version. Abstract_VM_Version is an implementation detail. Clients that refer to it directly are bypassing any possible platform specialization of the relevant names.

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

              Created:
              Updated:
              Resolved: