Skip to content

Commit

Permalink
update byteman to v4.0.22 (#19)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Whitaker <[email protected]>
Co-authored-by: Yue Yang <[email protected]>
  • Loading branch information
M-Whitaker and g1eny0ung authored Dec 27, 2023
1 parent b7a29ca commit 2893959
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Package and Upload
env:
BYTEMAN_VERSION: 4.0.20
BYTEMAN_VERSION: 4.0.22
HELPER_VERSION: 0.12
VERSION: ${{ github.ref_name == 'main' && 'latest' || github.ref_name }}
run: |
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.20/byteman-programmers-guide.html#user-defined-rule-helpers).
Some [Byteman's User-Defined Rule Helpers](https://downloads.jboss.org/byteman/4.0.22/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.20/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.22/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.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.
`SQLHelper` is a [Byteman's User-Defined Rule Helper](https://downloads.jboss.org/byteman/4.0.22/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.20/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.22/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.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.
`ThreadPoolHelper` is a [Byteman's User-Defined Rule Helper](https://downloads.jboss.org/byteman/4.0.22/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
2 changes: 1 addition & 1 deletion BytemanHelper/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<dependency>
<groupId>org.jboss.byteman</groupId>
<artifactId>byteman</artifactId>
<version>4.0.20</version>
<version>4.0.22</version>
</dependency>
</dependencies>
<properties>
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.20/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.22/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.20/byteman-programmers-guide.html#user-defined-rule-helpers).
Some [Byteman's User-Defined Rule Helpers](https://downloads.jboss.org/byteman/4.0.22/byteman-programmers-guide.html#user-defined-rule-helpers).

### SQLHelper

Expand Down

0 comments on commit 2893959

Please sign in to comment.