Coder Social home page Coder Social logo

Comments (7)

chewiebug avatar chewiebug commented on July 21, 2024

Hi Stephan

Looks like a new format of the detailed memory output in the latest jdk,
thank you for reporting it!

According to my tests NumberParser is about three times faster than
Integer.parseInt(), so I'd like to keep it. String#substring() seems to
have some performance impact in java 7, but hardly in java 6 - can't be
helped, I suppose. I suggest fixing
AbstractDataReaderSun#setMemoryExtended() (which is only used by the G1
parser) to use Double.parseDouble() including the small change to
|AbstractDataReaderSun#getMemoryInKiloByte|().

If you'd like to make these changes I'll happily wait for the pull request.

Regards, Jörg

from gcviewer.

Stephan202 avatar Stephan202 commented on July 21, 2024

Hi Jörg,

Sorry for not getting back to you earlier. If you're not in too much of a hurry, I'd be happy to open a pull request in one of the coming days (quite busy at work :)).

from gcviewer.

chewiebug avatar chewiebug commented on July 21, 2024

Hi Stephan

I would like to release about by the end of this month. So "in the
coming days" sounds very good to me :-).

Regards, Jörg

from gcviewer.

chewiebug avatar chewiebug commented on July 21, 2024

Hi Stephan

I have just tested with the latest JDK (7u15) and I don't find decimal separators in the memory output of G1 there. Seeing your jdk version contains a "ea" (seems to be "early access") I wonder if this format is ever going to make it into the productive releases. Do you have any idea?

Regards, Jörg

from gcviewer.

Stephan202 avatar Stephan202 commented on July 21, 2024

Good catch. Unfortunately I don't know whether this was a fluke or a feature that just hasn't been released yet. The page listing Developer Preview Releases hasn't been updated since January 3 (at the time of writing), so that isn't much help either.

I suggest we hold off on this merge until the format has been cleared up

from gcviewer.

chewiebug avatar chewiebug commented on July 21, 2024

Hi Stephan

Since the decimal separators haven't made it into JDK 7u17, I'll close this issue and the pull request. If in a later release we see this change, I'll know where to go look for the fix.

Thank you anyway for your time!

Regards, Jörg

from gcviewer.

ryangardner avatar ryangardner commented on July 21, 2024

I think this is a future feature. If you look at the output of "java -version" you will see that the hotspot version in the developer preview is a later version than the hotspot in the latest release. With all of the security updates the version numbers have gotten screwed up.

from gcviewer.

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.