Coder Social home page Coder Social logo

gcopdd's People

Contributors

ceresek avatar rqu avatar vakabus avatar

Watchers

 avatar  avatar  avatar

Forkers

ceresek

gcopdd's Issues

`getInstance()` methods contain race conditions

Making them synchronized may be slow. Other solutions involve adding more complexity, methods, fields.


public static Foo getInstance() {
    if (instance == null) {
        /* HERE */
        instance = new Foo();
    }
    return instance;
}

Suppose following:

  1. instance field is null.
  2. Thread A calls getInstance() and gets to /* HERE */.
  3. Thread A is preempted.
  4. Thread B calls getInstance(), and as instance field is still null, it creates, saves and returns a new instance.
  5. Thread B finishes or is preempted.
  6. Thread A is resumed and continues from /* HERE */. A new instance of Foo is created, saved and returned.

Displaying dumps on binaries with dots in filename crashes the dump-browser

For example, when you dump reports from this JAR file without renaming it, dump-browser won't display anything at all, even when you wan't to look at a different report.
http://repo.scalabench.org/snapshots/org/scalabench/benchmarks/scala-benchmark-suite/0.1.0-SNAPSHOT/scala-benchmark-suite-0.1.0-20120216.103539-3.jar

My proposed solution would be to dump metadata into another file and do not keep them in the filename. That's calling for trouble What if I name my program %20.jar or a+b.jar, this might also cause other problems...

Design a system for orchestrating data collection tools

So far, we are only working on dependency matrix collection. But there will be more tools, they will all need to export some data and they will all need some configuration. We should come up with a system to make everything work together.

We should consider:

  • runtime data collection configuration
  • compile time collection tool selection
  • data dumping unification

Optimize build time

When running in CI, about half of build time is spent cloning Graal as a submodule. Shallow clones didn't work when the build system was first set up. We should determine if it's still the case and/or fix it.

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.