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

Error in gtest os_page_size_for_region_unaligned after 8257588

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 16
    • hotspot
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: