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

Rdtsc: Move getCPUIDBrandString_stub into VM_Version stub area

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • hotspot
    • None

      Currently these stubs are created in `Rdtsc::initialize` which may be called from the first ElapsedCounter now call. This causes problems with lock ranks as we may be holding a lock while taking time, because we need to lock the code cache to create a stub.

      I suggest we move the `getCPUIDBrandString_stub` next to the other `VM_Version` stubs and generate them together. This is done at the earliest point we can, right after the CodeCache system has been initialized.

            aboldtch Axel Boldt-Christmas
            aboldtch Axel Boldt-Christmas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: