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

current_stack_region() gets called twice unnecessarily

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 22
    • 21
    • hotspot
    • b13

      Thread::record_stack_base_and_size() uses two separate functions to set the base and size of the stack for the thread, and thus calls current_stack_region() twice. current_stack_region() returns both the size and the base, so there is no need to make two separate calls to it.
       

            dholmes David Holmes
            poonam Poonam Bajaj Parhar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: