current_stack_region() gets called twice unnecessarily

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 22
    • Affects Version/s: 21
    • Component/s: 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.
       

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

              Created:
              Updated:
              Resolved: