Skip to content

Commit

Permalink
fix: update platform name in Arthas tutorials (#2641)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatpandac authored Aug 30, 2023
1 parent 88a8927 commit f6351cb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion site/docs/doc/dump.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ $ dump --classLoaderClass sun.misc.Launcher$AppClassLoader demo.*
Affect(row-cnt:1) cost in 39 ms.
```

- 注:这里 classLoaderClass 在 java 8 是 sun.misc.Launcher$AppClassLoader,而 java 11 的 classloader 是 jdk.internal.loader.ClassLoaders$AppClassLoader,katacoda 目前环境是 java8
- 注:这里 classLoaderClass 在 java 8 是 sun.misc.Launcher$AppClassLoader,而 java 11 的 classloader 是 jdk.internal.loader.ClassLoaders$AppClassLoader,killercoda 目前环境是 java11

`--classLoaderClass` 的值是 ClassLoader 的类名,只有匹配到唯一的 ClassLoader 实例时才能工作,目的是方便输入通用命令,而`-c <hashcode>`是动态变化的。
2 changes: 1 addition & 1 deletion site/docs/doc/getstatic.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ $ getstatic -c 3d4eac69 demo.MathGame random

`getstatic --classLoaderClass sun.misc.Launcher$AppClassLoader demo.MathGame random`

- 注: 这里 classLoaderClass 在 java 8 是 sun.misc.Launcher$AppClassLoader,而java 11的classloader是jdk.internal.loader.ClassLoaders$AppClassLoader,katacoda 目前环境是 java8
- 注: 这里 classLoaderClass 在 java 8 是 sun.misc.Launcher$AppClassLoader,而java 11的classloader是jdk.internal.loader.ClassLoaders$AppClassLoader,killercoda 目前环境是 java11

`--classLoaderClass` 的值是 ClassLoader 的类名,只有匹配到唯一的 ClassLoader 实例时才能工作,目的是方便输入通用命令,而`-c <hashcode>`是动态变化的。

Expand Down
2 changes: 1 addition & 1 deletion site/docs/en/doc/dump.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ $ dump --classLoaderClass sun.misc.Launcher$AppClassLoader demo.*
Affect(row-cnt:1) cost in 39 ms.
```

- PS: Here the classLoaderClass in java 8 is sun.misc.Launcher$AppClassLoader, while in java 11 it's jdk.internal.loader.ClassLoaders$AppClassLoader. Currently katacoda using java 8.
- PS: Here the classLoaderClass in java 8 is sun.misc.Launcher$AppClassLoader, while in java 11 it's jdk.internal.loader.ClassLoaders$AppClassLoader. Currently killercoda using java 11.

The value of `--classloaderclass` is the class name of classloader. It can only work when it matches a unique classloader instance. The purpose is to facilitate the input of general commands. However, `-c <hashcode>` is dynamic.
2 changes: 1 addition & 1 deletion site/docs/en/doc/getstatic.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ For classloader with only one instance, it can be specified by `--classLoaderCla

`getstatic --classLoaderClass demo.MathGame random`

- PS: Here the classLoaderClass in java 8 is sun.misc.Launcher$AppClassLoader, while in java 11 it's jdk.internal.loader.ClassLoaders$AppClassLoader. Currently katacoda using java 8.
- PS: Here the classLoaderClass in java 8 is sun.misc.Launcher$AppClassLoader, while in java 11 it's jdk.internal.loader.ClassLoaders$AppClassLoader. Currently killercoda using java 11.

The value of `--classloaderclass` is the class name of classloader. It can only work when it matches a unique classloader instance. The purpose is to facilitate the input of general commands. However, `-c <hashcode>` is dynamic.

Expand Down

0 comments on commit f6351cb

Please sign in to comment.