Giter Club home page Giter Club logo

Comments (3)

ferd avatar ferd commented on May 10, 2024

I've fixed the first one, but couldn't replicate the latter in R16B03-1. See af02f3d for the fix.

I have been unable to replicate the second one, and it makes no sense that current would be greater than max in the values returned by the allocators. Can you re-validate with the fix in master? Maybe it's a weird state thing.

from recon.

sg2342 avatar sg2342 commented on May 10, 2024

Usage = Used / Alloc. Alloc(curr) =< Alloc(max) and Used(curr) =< Used(max) does not imply
Usage(curr) =< Usage(max) :
5 =< 7, 10 =< 200 but 5/10 > 7/200.

from recon.

ferd avatar ferd commented on May 10, 2024

Ah yeah, you're right. Usually the max usage should be higher than regular usage, but it's possible following good GC runs or specific allocation patterns or whatever that high usage gets to shrink. I'll remove that part of the case -- no assertion can be made on it. Good report.

Thanks!

from recon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.