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

Error in gtest os_page_size_for_region_unaligned after 8257588

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • None
    • hotspot
    • None
    • b28

      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.

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

              Created:
              Updated:
              Resolved: