jbossts

Clone Tools
  • last updated a few minutes 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

    • -706
    • +0
    ./orchestration/agent/Location.java
    • -168
    • +0
    ./orchestration/agent/LocationType.java
    • -617
    • +0
    ./orchestration/agent/Transformer.java
    • -504
    • +0
    ./orchestration/agent/adapter/OpcodesHelper.java
  1. … 226 more files in changeset.
major reworking of trigger injection code to deal with complications when triggers are inserted inside synchronized blocks -- includes revision of test code

    • -0
    • +504
    ./orchestration/agent/adapter/OpcodesHelper.java
    • -0
    • +1411
    ./orchestration/agent/adapter/RuleGeneratorAdapter.java
    • -0
    • +1040
    ./orchestration/agent/adapter/cfg/BBlock.java
    • -0
    • +1113
    ./orchestration/agent/adapter/cfg/CFG.java
    • -0
    • +65
    ./orchestration/agent/adapter/cfg/CodeLocation.java
    • -0
    • +218
    ./orchestration/agent/adapter/cfg/InstructionSequence.java
    • -0
    • +107
    ./orchestration/agent/adapter/cfg/Link.java
  1. … 15 more files in changeset.
added tests for method invocations and fixed parser bugs to do with static method invocations

    • -184
    • +233
    ./orchestration/rule/grammar/ECAGrammarParser.java
  1. … 7 more files in changeset.
added tests for field operations and fixed various compilation bugs turned up by running those tests

    • -75
    • +13
    ./orchestration/rule/RuleElement.java
  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

    • -3
    • +10
    ./orchestration/agent/Transformer.java
    • -15
    • +14
    ./orchestration/rule/expression/ExpressionHelper.java
    • -8
    • +15
    ./orchestration/rule/grammar/ECAGrammarParser.java
    • -4
    • +18
    ./orchestration/rule/grammar/ECATokenLexer.java
    • -2
    • +12
    ./orchestration/rule/grammar/PrintableSymbol.java
  1. … 13 more files in changeset.
added tests of java arithmetic operations to tests dir and fixed bugs found by them

    • -0
    • +83
    ./orchestration/rule/type/Type.java
  1. … 4 more files in changeset.
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

    • -15
    • +19
    ./orchestration/agent/Location.java
    • -4
    • +4
    ./orchestration/agent/Transformer.java
    • -0
    • +134
    ./orchestration/agent/adapter/RuleCheckMethodAdapter.java
    • -0
    • +80
    ./orchestration/agent/adapter/RuleMethodAdapter.java
  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

    • -2
    • +23
    ./orchestration/agent/Transformer.java
    • -1
    • +119
    ./orchestration/rule/helper/Helper.java
    • -0
    • +92
    ./orchestration/synchronization/Rendezvous.java
  1. … 2 more files in changeset.
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

  1. … 2 more files in changeset.
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

    • -12
    • +100
    ./orchestration/rule/helper/Helper.java
fixed some errors in the compiler

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

    • -1
    • +27
    ./orchestration/rule/Condition.java
    • -0
    • +399
    ./orchestration/rule/RuleElement.java
    • -0
    • +49
    ./orchestration/rule/binding/Binding.java
  1. … 18 more files in changeset.
added and amended copyrights

    • -0
    • +23
    ./orchestration/rule/helper/Helper.java
    • -0
    • +23
    ./orchestration/rule/helper/HelperAdapter.java
  1. … 1 more file in changeset.
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

    • -3
    • +96
    ./orchestration/agent/Transformer.java
    • -739
    • +79
    ./orchestration/rule/Rule.java
    • -0
    • +491
    ./orchestration/rule/compiler/Compiler.java
    • -0
    • +67
    ./orchestration/rule/compiler/StackHeights.java
  1. … 19 more files in changeset.
added support for AT EXIT (equyivalently AT RETURN) trigger location and documented it

    • -0
    • +47
    ./orchestration/agent/Location.java
    • -5
    • +13
    ./orchestration/agent/LocationType.java
    • -0
    • +15
    ./orchestration/agent/adapter/ExitCheckAdapter.java
    • -0
    • +238
    ./orchestration/agent/adapter/ExitTriggerAdapter.java
  1. … 3 more files in changeset.
added and documented new location specifier AT THROW <count> plus modified toastcheck script to pass TOAST_JAVA_OPTS to the JVM

    • -0
    • +100
    ./orchestration/agent/Location.java
    • -1
    • +11
    ./orchestration/agent/LocationType.java
    • -0
    • +101
    ./orchestration/agent/adapter/ThrowCheckAdapter.java
    • -0
    • +228
    ./orchestration/agent/adapter/ThrowTriggerAdapter.java
  1. … 3 more files in changeset.
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

    • -22
    • +57
    ./orchestration/test/TestScript.java
added support for rules to log trace output to files and updated docs accordingly

  1. … 2 more files in changeset.
added Counter built-ins, upgraded error trace messages from rule agent and improved docs including adding section on Counter built-ins

    • -3
    • +3
    ./orchestration/agent/Transformer.java
    • -0
    • +37
    ./orchestration/synchronization/Counter.java
  1. … 2 more files in changeset.
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)

    • -14
    • +45
    ./orchestration/agent/Transformer.java
Fixed problem where defaulting of location type (AT ENTRY) caused null pointer exception

Fixed bug in type helper which was stopping method names with empty

signatures (e.g. get() or foo.get()) being recognised.

Corrected problem in tokenizer/parser where terms like $0.foo() where

not being recognised because the characters 0. were being tokenised as

a float. Tokenizer now identifies $<integer_literal> or $<identifier>

as a single token rather than applying $ as a unary prefix operator to

the next term.

Added option to switch on debug trace in CUP parser by setting System

property org.jboss.jbossts.orchestration.rule.debug. To make this work

properly this required:

Modified parser to use class PrintableSymbol` instead of Symbol.

Provided an implementation of PrintableSymbol which prints the symbol

name and associated value rather than just a numeric idx.

Specialised parser debug print routines called by debug_parse so that

they stop printing symbol numeric idxs and rely on the toString method

to print the symbol.

    • -423
    • +429
    ./orchestration/rule/grammar/ECAGrammarParser.java
    • -270
    • +277
    ./orchestration/rule/grammar/ECATokenLexer.java
    • -0
    • +118
    ./orchestration/rule/grammar/PrintableSymbol.java
    • -3
    • +8
    ./orchestration/rule/type/TypeHelper.java
  1. … 3 more files in changeset.
allowed transfomer to insert rules in any code other than java.lang classes -- it used to only allow rules to be added to org.jboss or com.arjuna code

    • -0
    • +13
    ./orchestration/agent/Transformer.java
modified to allow various extra specifiers for where to place the trigger point besides (AT) LINE

    • -0
    • +555
    ./orchestration/agent/Location.java
    • -0
    • +150
    ./orchestration/agent/LocationType.java
    • -0
    • +43
    ./orchestration/agent/Script.java
    • -62
    • +26
    ./orchestration/agent/Transformer.java
    • -0
    • +141
    ./orchestration/agent/adapter/AccessCheckAdapter.java
    • -0
    • +276
    ./orchestration/agent/adapter/AccessTriggerAdapter.java
    • -0
    • +127
    ./orchestration/agent/adapter/InvokeCheckAdapter.java
    • -0
    • +262
    ./orchestration/agent/adapter/InvokeTriggerAdapter.java
    • -0
    • +94
    ./orchestration/agent/adapter/LineCheckAdapter.java
    • -0
    • +52
    ./orchestration/agent/adapter/RuleAdapter.java
    • -0
    • +50
    ./orchestration/agent/adapter/RuleCheckAdapter.java
    • -0
    • +41
    ./orchestration/agent/adapter/RuleTriggerAdapter.java
    • -0
    • +96
    ./orchestration/agent/adapter/SynchronizeCheckAdapter.java
  1. … 5 more files in changeset.
removed redundant methdos and constructors

removed redundant annotation classes and relocated parser/typechecker test class

    • -6
    • +0
    ./orchestration/agent/Transformer.java
    • -40
    • +0
    ./orchestration/rule/type/TypeHelper.java
    • -10
    • +15
    ./orchestration/test/TestScript.java
  1. … 2 more files in changeset.
corrected an error in the line number checking which was placing the trigger call after the specified line rather than at it

    • -1
    • +1
    ./orchestration/agent/RuleAdapter.java
added configuraton of transformed class dumping via system properties

    • -28
    • +103
    ./orchestration/agent/Transformer.java
  1. … 3 more files in changeset.
added a new parser which should accept most Java syntax and does nifty stuff like operator precedence. also fixed a few bugs

    • -3
    • +40
    ./orchestration/agent/RuleAdapter.java
    • -15
    • +17
    ./orchestration/rule/Action.java
    • -21
    • +14
    ./orchestration/rule/Condition.java
    • -2
    • +2
    ./orchestration/rule/binding/Binding.java
  1. … 41 more files in changeset.