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

"Unknown HZ value! (500) Assume 100" msgs from j2se builds on some Windows machines

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 7
    • 7
    • infrastructure
    • None
    • generic
    • generic

      The message comes from make/common/shared/Platform.gmk:
        # How much RAM does this machine have:
        MB_OF_MEMORY := $(shell \
          if [ -f "C:/cygwin/bin/free.exe" ] ; then \
            ( C:/cygwin/bin/bash.exe -c "C:/cygwin/bin/free.exe -m" ) | \
      grep Mem: | \
      sed -e 's@\ \ *@ @g' | cut -d' ' -f2 ; \
          else \
            echo "512"; \
          fi)

      The call to free.exe causes a message such as this on some windows machines
      but not others:
         Unknown HZ value! (500) Assume 100.

      The '500' varies depending on if the make is done under cygwin or MKS.

            ohair Kelly Ohair (Inactive)
            jjh James Holmlund (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: