Code Monkey home page Code Monkey logo

Comments (3)

leventov avatar leventov commented on June 3, 2024

Given input is insufficient to investigate the problem. Please either share the data so that I could debug or run JVisualVM during that 5-8 min freeze, to see what actually is consuming time, to narrow the bug searching scope.

from koloboke.

krolen avatar krolen commented on June 3, 2024

I do understand that given input is insufficient. And I will try to get
more data but cannot promise that since it is actually happens on a an
environment which I have quite a limited access to.
Meanwhile I want to give you an input that such thing does happen maybe you
can think about something in code that might cause the issue.

2014-11-28 23:36 GMT-05:00 Roman Leventov [email protected]:

Given input is insufficient to investigate the problem. Please either
share the data so that I could debug or run JVisualVM during that 5-8 min
freeze, to see what actually is consuming time, to narrow the bug searching
scope.


Reply to this email directly or view it on GitHub
#32 (comment).

from koloboke.

leventov avatar leventov commented on June 3, 2024

Thanks for that. I reviewed the related code, and don't see what might cause such long pause. There are two potentially quite long (but still should be thousands times faster) operations: rehash and changing the free value (zero by default). If the items of the set ("followers") are always positive long values, you might try to construct the set using HashLongSets.getDefaultFactory().withKeysDomain(0, Long.MAX_VALUE).newUpdatableSet() and see what happens in this case.

If there is an issue with changing the free value or rehash, I would also note that this functionality is shared with all hash maps with long keys also. So using HashLongIntMap (for example) should also encounter "freeze". If you could check this it would be helpful.

from koloboke.

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.