Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for actor-language features to Dynamic Metrics tool #348

Merged
merged 30 commits into from Apr 16, 2020
Merged

Commits on Apr 15, 2020

  1. Tag LogPrim with OpArithmetic

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    474e509 View commit details
    Browse the repository at this point in the history
  2. Added a double specialization to AbsPrim and move it

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    75a3df3 View commit details
    Browse the repository at this point in the history
  3. Turn source section location into path:line:column:length format

    This format is much easier to read and map to a file.
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    784dc6f View commit details
    Browse the repository at this point in the history
  4. Implement some missing bits around actor-related types

    No specific actor support yet, but at least support promises, far references, and resolver objects.
    
    Also add support for a few other things.
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    560371d View commit details
    Browse the repository at this point in the history
  5. Added test for actor DyM support and add Savina benchmarks for testing

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    ba97a85 View commit details
    Browse the repository at this point in the history
  6. Remove duplicated code and unused maps

    The maps where unused and were missed in an old refactoring.
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    4122590 View commit details
    Browse the repository at this point in the history
  7. Avoid initializing TraceActorCreationNode if tracing is not enabled

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    f21d959 View commit details
    Browse the repository at this point in the history
  8. Added DyM support for actor creation

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    dbe67be View commit details
    Browse the repository at this point in the history
  9. Make UnarySystemOperation a ComplexPrimitiveOperation

    - and provide necessary support for CreatePromisePairPrim
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    6ac75d7 View commit details
    Browse the repository at this point in the history
  10. Added basic message send instrumentation

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    be18e47 View commit details
    Browse the repository at this point in the history
  11. Make resolve an operation that is tracked

    This is just the primitive, not yet on the source level, which might need a primitive wrapping this to pass on the breakpoint parameters correctly.
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    fd2a1f7 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2020

  1. Added general actor statistics

    - Num.Actors
    - Num.Turns
    - Num.Promises
    - Num.Resolvers
    - Num.Promises.Avoided
    - Num.Registered.WhenResolved
    - Num.Registered.OnError
    - Num.Scheduled.WhenResolved
    - Num.Scheduled.OnError
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    2bb1471 View commit details
    Browse the repository at this point in the history
  2. Added EagerResolvePromiseNode to expose lexical location of Resolver>…

    …>#resolve:
    
    This node itself does not need to be instrumented, because its child node will be instrumented as in all other locations where it is used.
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    731ec5b View commit details
    Browse the repository at this point in the history
  3. Replace use of instrumentation for call nodes with counting call node…

    …s [WIP]
    
    This replaces the rather elaborate and brittle way we used instrumentation to count the activation of specific call targets by having a wrapping node that counts activations and can be collected from the message send node.
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    607098a View commit details
    Browse the repository at this point in the history
  4. Fix mixin identifier string, avoiding unnecessary #

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    8d5ea40 View commit details
    Browse the repository at this point in the history
  5. Remove old DyM code as part of Replace use of instrumentation for cal…

    …l nodes with counting call nodes [WIP]
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    7516867 View commit details
    Browse the repository at this point in the history
  6. Make sure ReceivedRootNodes are instrumented

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    9ba1970 View commit details
    Browse the repository at this point in the history
  7. Mark eventual send callsites as such

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    eea3b54 View commit details
    Browse the repository at this point in the history
  8. Use fully qualified identifier for defined methods

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    e610d18 View commit details
    Browse the repository at this point in the history
  9. Added support for OnError, WhenResolvedOnError for metric writing

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    5b09424 View commit details
    Browse the repository at this point in the history
  10. Remove findbugsNature from Eclipse project

    Hasn’t been used in ages
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    1b46a54 View commit details
    Browse the repository at this point in the history
  11. Suppress warnings in KomposTraceParser

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    f9a0b87 View commit details
    Browse the repository at this point in the history
  12. Make sure implicit promise resolution is instrumented

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    77fdf25 View commit details
    Browse the repository at this point in the history
  13. Count all null resolutions, i.e., when promises are not actually reso…

    …lved
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    a370052 View commit details
    Browse the repository at this point in the history
  14. Add missing promiseError operation and distinguish implicit/explicit

    - rename resolve to promiseResolve
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    313a5d6 View commit details
    Browse the repository at this point in the history
  15. Generic and foreign dispatch are not yet implemented

    Perhaps another time, not urgent for the moment.
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    fc16761 View commit details
    Browse the repository at this point in the history
  16. Update Kompos dependencies, make them strict, and fix issue with boot…

    …strap popovers
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    352e0e6 View commit details
    Browse the repository at this point in the history
  17. Object safepoint operations need to be in finally blocks consistently

    This is a correctness precaution.
    All subsequent register/unregister operations following an initial unregister/register need to be in a finally clause if the operations in-between could cause any kind of exception, which most can.
    
    For consistency, it should be used really everywhere.
    
    There are only two points where it might be acceptable, but should be still fixed: init of object system, and in the executeApplication method.
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    dd07d87 View commit details
    Browse the repository at this point in the history
  18. Since we now have an eager primitive replacement on the AST, we need …

    …no longer skip any frames
    
    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    fec3aec View commit details
    Browse the repository at this point in the history
  19. Avoid reinitialization by publishing node only after full initialization

    Signed-off-by: Stefan Marr <git@stefan-marr.de>
    smarr committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    ae21fce View commit details
    Browse the repository at this point in the history