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

current_stack_region() gets called twice unnecessarily

    XMLWordPrintable

Details

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

    Description

      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.
       

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: