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

Error in gtest os_page_size_for_region_unaligned after 8257588

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b28

      Description

      https://github.com/openjdk/jdk/pull/1522#discussion_r539501002

      ```
          for (size_t s = os::page_sizes().largest(); s != 0; s = os::page_sizes().next_smaller(s)) {
            const size_t expected = os::page_sizes().next_smaller(s);
            if (expected != 0) {
              size_t actual = os::page_size_for_region_unaligned(expected - 17, 1);
      ```
      mgkwill:
       
      @tstuefe should expected here be s ?

      It should.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stuefe Thomas Stuefe
              Reporter:
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: