Skip to content

Commit

Permalink
update byteman to v4.0.20 (#18)
Browse files Browse the repository at this point in the history
Signed-off-by: cwen0 <[email protected]>

Signed-off-by: cwen0 <[email protected]>
  • Loading branch information
cwen0 authored Dec 13, 2022
1 parent 04dbfc9 commit 734aa8e
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
- name: Package and Upload
run: |
BYTEMAN_VERSION=4.0.18
HELPER_VERSION=0.9
BYTEMAN_VERSION=4.0.20
HELPER_VERSION=0.12
curl -fsSL -o byteman-download-${BYTEMAN_VERSION}-bin.zip https://downloads.jboss.org/byteman/${BYTEMAN_VERSION}/byteman-download-${BYTEMAN_VERSION}-bin.zip
unzip byteman-download-${BYTEMAN_VERSION}-bin.zip
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
- name: Package and Upload
run: |
BYTEMAN_VERSION=4.0.18
HELPER_VERSION=0.9
BYTEMAN_VERSION=4.0.20
HELPER_VERSION=0.12
curl -fsSL -o byteman-download-${BYTEMAN_VERSION}-bin.zip https://downloads.jboss.org/byteman/${BYTEMAN_VERSION}/byteman-download-${BYTEMAN_VERSION}-bin.zip
unzip byteman-download-${BYTEMAN_VERSION}-bin.zip
Expand Down
2 changes: 1 addition & 1 deletion AgentInstaller/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>org.chaos_mesh.agent_installer</groupId>
<artifactId>agent-installer</artifactId>
<packaging>jar</packaging>
<version>0.9</version>
<version>0.12</version>
<name>agent-installer</name>
<url>http://maven.apache.org</url>
<dependencies>
Expand Down
10 changes: 5 additions & 5 deletions BytemanHelper/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
## BytemanHelper

Some [Byteman's User-Defined Rule Helpers](https://downloads.jboss.org/byteman/4.0.17/byteman-programmers-guide.html#user-defined-rule-helpers).
Some [Byteman's User-Defined Rule Helpers](https://downloads.jboss.org/byteman/4.0.20/byteman-programmers-guide.html#user-defined-rule-helpers).

### StressHelper

`StressHelper` is a [Byteman's User-Defined Rule Helper](https://downloads.jboss.org/byteman/4.0.17/byteman-programmers-guide.html#user-defined-rule-helpers), which is used to inject CPU or memory stress into JVM.
`StressHelper` is a [Byteman's User-Defined Rule Helper](https://downloads.jboss.org/byteman/4.0.20/byteman-programmers-guide.html#user-defined-rule-helpers), which is used to inject CPU or memory stress into JVM.

| Type | Method | Description |
| ---- | ------ | ------------|
Expand All @@ -27,7 +27,7 @@ ENDRULE

### SQLHelper

`SQLHelper` is a [Byteman's User-Defined Rule Helper](https://downloads.jboss.org/byteman/4.0.17/byteman-programmers-guide.html#user-defined-rule-helpers), which is used to parse SQL and judge whether this SQL match specified database and table.
`SQLHelper` is a [Byteman's User-Defined Rule Helper](https://downloads.jboss.org/byteman/4.0.20/byteman-programmers-guide.html#user-defined-rule-helpers), which is used to parse SQL and judge whether this SQL match specified database and table.

| Type | Method | Description |
| ---- | ------ | ------------|
Expand Down Expand Up @@ -59,7 +59,7 @@ mvn -X package -Dmaven.test.skip=true -Dmaven.wagon.http.ssl.insecure=true -Dmav

### GCHelper

`GCHelper` is a [Byteman's User-Defined Rule Helper](https://downloads.jboss.org/byteman/4.0.17/byteman-programmers-guide.html#user-defined-rule-helpers), which used to trigger garbage collection in JVM.
`GCHelper` is a [Byteman's User-Defined Rule Helper](https://downloads.jboss.org/byteman/4.0.20/byteman-programmers-guide.html#user-defined-rule-helpers), which used to trigger garbage collection in JVM.

#### Example

Expand All @@ -77,7 +77,7 @@ ENDRULE

### ThreadPoolHelper

`ThreadPoolHelper` is a [Byteman's User-Defined Rule Helper](https://downloads.jboss.org/byteman/4.0.17/byteman-programmers-guide.html#user-defined-rule-helpers), it hijacks the `java.util.concurrent.ThreadPoolExecutor` and uses it to create the specified number of threads, preventing the user from creating threads.
`ThreadPoolHelper` is a [Byteman's User-Defined Rule Helper](https://downloads.jboss.org/byteman/4.0.20/byteman-programmers-guide.html#user-defined-rule-helpers), it hijacks the `java.util.concurrent.ThreadPoolExecutor` and uses it to create the specified number of threads, preventing the user from creating threads.

| Type | Method | Description |
| ---- | ------ | ------------|
Expand Down
4 changes: 2 additions & 2 deletions BytemanHelper/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>org.chaos_mesh.byteman</groupId>
<artifactId>byteman-helper</artifactId>
<packaging>jar</packaging>
<version>0.9</version>
<version>0.12</version>
<name>byteman-helper</name>
<url>http://maven.apache.org</url>
<dependencies>
Expand All @@ -22,7 +22,7 @@
<dependency>
<groupId>org.jboss.byteman</groupId>
<artifactId>byteman</artifactId>
<version>4.0.9</version>
<version>4.0.20</version>
</dependency>
</dependencies>
<properties>
Expand Down
2 changes: 1 addition & 1 deletion ChaosAgent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>org.chaos_mesh.chaos_agent</groupId>
<artifactId>chaos-agent</artifactId>
<packaging>jar</packaging>
<version>0.9</version>
<version>0.12</version>
<name>chaos-agent</name>
<url>http://maven.apache.org</url>
<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# byteman-helper

The repository maintains byteman [helpers](https://downloads.jboss.org/byteman/4.0.17/byteman-programmers-guide.html#user-defined-rule-helpers), plug-ins, scripts, and anything else that extends byteman's functionality.
The repository maintains byteman [helpers](https://downloads.jboss.org/byteman/4.0.20/byteman-programmers-guide.html#user-defined-rule-helpers), plug-ins, scripts, and anything else that extends byteman's functionality.

## BytemanHelper

Some [Byteman's User-Defined Rule Helpers](https://downloads.jboss.org/byteman/4.0.17/byteman-programmers-guide.html#user-defined-rule-helpers).
Some [Byteman's User-Defined Rule Helpers](https://downloads.jboss.org/byteman/4.0.20/byteman-programmers-guide.html#user-defined-rule-helpers).

### SQLHelper

Expand Down

0 comments on commit 734aa8e

Please sign in to comment.