Byteman

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
moved everything to package org.jboss.byteman and udpated all documents, scripts and other names to refer Byteman

    • -0
    • +44
    /bin/bytemancheck.sh
    • -1
    • +1
    /dd/scripts/HeuristicSaveAndRecover.txt
    • -1
    • +1
    /dd/scripts/HeuristicSaveAndRecover10.txt
  1. … 226 more files in changeset.
added missing junit jar

major reworking of trigger injection code to deal with complications when triggers are inserted inside synchronized blocks -- includes revision of test code

    • -0
    • +1040
    /src/org/jboss/jbossts/orchestration/agent/adapter/cfg/BBlock.java
    • -0
    • +1113
    /src/org/jboss/jbossts/orchestration/agent/adapter/cfg/CFG.java
  1. … 15 more files in changeset.
added tests for method invocations and fixed parser bugs to do with static method invocations

    • -13
    • +13
    /tests/dd/scripts/javaops/TestField.txt
    • -0
    • +56
    /tests/dd/scripts/javaops/TestMethod.txt
added tests for field operations and fixed various compilation bugs turned up by running those tests

  1. … 12 more files in changeset.
added tests for logical operations, fixed bug in parsing/type checking ?= operator and modified parser/typechecker to display file and line number for offending expressions when parse or type errors occur

  1. … 10 more files in changeset.
added tests of java arithmetic operations to tests dir and fixed bugs found by them

    • -0
    • +87
    /tests/dd/scripts/javaops/TestArithmetic.txt
omitted ant build script to build and run tests

added support for local variable references in rules and added initial set of unit tests which check that location specifiers work oky -- all tests pass except the one for AT THROW which fails because of an error in counting throws added due to the presence of synchronized blocks

  1. … 40 more files in changeset.
added rendezvous operations to Helper and documented them. also corrected operation of debug builtin to respect system property settings as advertised in the documentation

added file containing licenses and version info for thirdparty code

    • -0
    • +373
    /ext/third_party_licenses.txt
updated manual pdf to be in line with odt source

included details of how to use the compiler tp README and manual and updated the docs on signalWake/Kill to explain the optional argument mustMeet

modified waitFor and sigalWake/Kill so that it is possibel to delay the signaller until there is at least one waiting thread

modified waitFor and sigalWake/Kill so that it is possibel to delay the signaller until there is at least one waiting threadsrc/org/jboss/jbossts/orchestration/synchronization/Waiter.java

fixed some errors in the compiler

included first cut of rule compilation -- enabled by setting property org.jboss.jbossts.orchestration.compileToBytecode

  1. … 18 more files in changeset.
documented use of HELPER to supply a user-defined helper and how helpers work to define built-in operations

added and amended copyrights

modified rule language to allow plug-in capability for the helper class which defines the rule language built-ins. added compiler class which specialises the helper to provide a rule interpreter specific to the built-in associated with any given rule

  1. … 19 more files in changeset.
added support for AT EXIT (equyivalently AT RETURN) trigger location and documented it

allow for extra java opts via setting TOAST_JAVA_OPTS

added and documented new location specifier AT THROW <count> plus modified toastcheck script to pass TOAST_JAVA_OPTS to the JVM

corrected erroneous error text and added final error count printout in offline rule type checker programformat problem in error text

corrected erroneous error text and added final error count printout in offline rule type checker program

removed trace echo

script enabling TOAST rules to be type checked offline -- just supply a classpath and a list of script files

added support for rules to log trace output to files and updated docs accordingly

added Counter built-ins, upgraded error trace messages from rule agent and improved docs including adding section on Counter built-ins

Defined System property org.jboss.jbossts.orchestration.verbose which can be set on the JVM command line (using -D) to enable display of trace messages generated by the rule agent and the rule execution engine.

Modified transformer to cache the value of thsis flag at bootstrap and

made all current verbose output from the agent and execution engine

conditional upon the flag being set.

Fixed problem which led to NullPointerException when rule location was

defaulted to AT ENTRY (location object attached to rule was null)

Fixed problem with AT ENTRY and AT LINE locations whcih caused a

NullPointerException when generating the transformed bytecode for a

constructor method (trigger call was nto being generated which caused

the bytecode writer to trip up on a catch block with no start and end

labels)