Skip to content

Commit 8db1dd0

Browse files
committed
8305622: Remove Permission details from jcmd man page
Reviewed-by: cjplummer, sspitsyn
1 parent 1d517af commit 8db1dd0

File tree

1 file changed

+1
-74
lines changed

1 file changed

+1
-74
lines changed

src/jdk.jcmd/share/man/jcmd.1

Lines changed: 1 addition & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.\" Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
1+
.\" Copyright (c) 2012, 2023, Oracle and/or its affiliates. All rights reserved.
22
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
33
.\"
44
.\" This code is free software; you can redistribute it and/or modify it
@@ -169,35 +169,27 @@ Prints code cache layout and bounds.
169169
.RS
170170
.PP
171171
Impact: Low
172-
.PP
173-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
174172
.RE
175173
.TP
176174
\f[V]Compiler.codelist\f[R]
177175
Prints all compiled methods in code cache that are alive.
178176
.RS
179177
.PP
180178
Impact: Medium
181-
.PP
182-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
183179
.RE
184180
.TP
185181
\f[V]Compiler.perfmap\f[R] (Linux only)
186182
Write map file for Linux perf tool.
187183
.RS
188184
.PP
189185
Impact: Low
190-
.PP
191-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
192186
.RE
193187
.TP
194188
\f[V]Compiler.queue\f[R]
195189
Prints methods queued for compilation.
196190
.RS
197191
.PP
198192
Impact: Low
199-
.PP
200-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
201193
.RE
202194
.TP
203195
\f[V]Compiler.directives_add *filename* *arguments*\f[R]
@@ -206,8 +198,6 @@ Adds compiler directives from a file.
206198
.PP
207199
Impact: Low
208200
.PP
209-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
210-
.PP
211201
\f[I]arguments\f[R]:
212202
.PP
213203
\f[I]filename\f[R]: The name of the directives file (STRING, no default
@@ -219,26 +209,20 @@ Remove all compiler directives.
219209
.RS
220210
.PP
221211
Impact: Low
222-
.PP
223-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
224212
.RE
225213
.TP
226214
\f[V]Compiler.directives_print\f[R]
227215
Prints all active compiler directives.
228216
.RS
229217
.PP
230218
Impact: Low
231-
.PP
232-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
233219
.RE
234220
.TP
235221
\f[V]Compiler.directives_remove\f[R]
236222
Remove latest added compiler directive.
237223
.RS
238224
.PP
239225
Impact: Low
240-
.PP
241-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
242226
.RE
243227
.TP
244228
\f[V]GC.class_histogram\f[R] [\f[I]options\f[R]]
@@ -247,8 +231,6 @@ Provides statistics about the Java heap usage.
247231
.PP
248232
Impact: High --- depends on Java heap size and content.
249233
.PP
250-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
251-
.PP
252234
\f[B]Note:\f[R]
253235
.PP
254236
The \f[I]options\f[R] must be specified using either \f[I]key\f[R] or
@@ -273,8 +255,6 @@ Provides information about the Java finalization queue.
273255
.RS
274256
.PP
275257
Impact: Medium
276-
.PP
277-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
278258
.RE
279259
.TP
280260
\f[V]GC.heap_dump\f[R] [\f[I]options\f[R]] [\f[I]arguments\f[R]]
@@ -284,8 +264,6 @@ Generates a HPROF format dump of the Java heap.
284264
Impact: High --- depends on the Java heap size and content.
285265
Request a full GC unless the \f[V]-all\f[R] option is specified.
286266
.PP
287-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
288-
.PP
289267
\f[B]Note:\f[R]
290268
.PP
291269
The following \f[I]options\f[R] must be specified using either
@@ -314,8 +292,6 @@ Provides generic Java heap information.
314292
.RS
315293
.PP
316294
Impact: Medium
317-
.PP
318-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
319295
.RE
320296
.TP
321297
\f[V]GC.run\f[R]
@@ -649,8 +625,6 @@ Loads JVMTI native agent.
649625
.PP
650626
Impact: Low
651627
.PP
652-
Permission: \f[V]java.lang.management.ManagementPermission(control)\f[R]
653-
.PP
654628
\f[I]arguments\f[R]:
655629
.IP \[bu] 2
656630
\f[I]library path\f[R]: Absolute path of the JVMTI agent to load.
@@ -665,8 +639,6 @@ Signals the JVM to do a data-dump request for JVMTI.
665639
.RS
666640
.PP
667641
Impact: High
668-
.PP
669-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
670642
.RE
671643
.TP
672644
\f[V]ManagementAgent.start\f[R] [\f[I]options\f[R]]
@@ -770,8 +742,6 @@ Print the management agent status.
770742
.RS
771743
.PP
772744
Impact: Low --- no impact
773-
.PP
774-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
775745
.RE
776746
.TP
777747
\f[V]ManagementAgent.stop\f[R]
@@ -786,17 +756,13 @@ Prints information about native heap usage through malloc_info(3).
786756
.RS
787757
.PP
788758
Impact: Low
789-
.PP
790-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
791759
.RE
792760
.TP
793761
\f[V]System.trim_native_heap\f[R] (Linux only)
794762
Attempts to free up memory by trimming the C-heap.
795763
.RS
796764
.PP
797765
Impact: Low
798-
.PP
799-
Permission: \f[V]java.lang.management.ManagementPermission(control)\f[R]
800766
.RE
801767
.TP
802768
\f[V]Thread.print\f[R] [\f[I]options\f[R]]
@@ -805,8 +771,6 @@ Prints all threads with stacktraces.
805771
.PP
806772
Impact: Medium --- depends on the number of threads.
807773
.PP
808-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
809-
.PP
810774
\f[B]Note:\f[R]
811775
.PP
812776
The following \f[I]options\f[R] must be specified using either
@@ -828,8 +792,6 @@ loaded classes.
828792
.PP
829793
Impact: Medium --- pause time depends on number of loaded classes
830794
.PP
831-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
832-
.PP
833795
\f[I]arguments\f[R]:
834796
.IP \[bu] 2
835797
\f[V]subcmd\f[R]: must be either \f[V]static_dump\f[R] or
@@ -857,8 +819,6 @@ Prints classloader hierarchy.
857819
Impact: Medium --- Depends on number of class loaders and classes
858820
loaded.
859821
.PP
860-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
861-
.PP
862822
The following \f[I]options\f[R] must be specified using either
863823
\f[I]key\f[R] or \f[I]key\f[R]\f[V]=\f[R]\f[I]value\f[R] syntax.
864824
.PP
@@ -880,8 +840,6 @@ Prints statistics about all ClassLoaders.
880840
.RS
881841
.PP
882842
Impact: Low
883-
.PP
884-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
885843
.RE
886844
.TP
887845
\f[V]VM.class_hierarchy\f[R] [\f[I]options\f[R]] [\f[I]arguments\f[R]]
@@ -894,8 +852,6 @@ loader.
894852
.PP
895853
Impact: Medium --- depends on the number of loaded classes.
896854
.PP
897-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
898-
.PP
899855
\f[B]Note:\f[R]
900856
.PP
901857
The following \f[I]options\f[R] must be specified using either
@@ -924,17 +880,13 @@ Prints the command line used to start this VM instance.
924880
.RS
925881
.PP
926882
Impact: Low
927-
.PP
928-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
929883
.RE
930884
.TP
931885
\f[V]VM.dynlibs\f[R]
932886
Prints the loaded dynamic libraries.
933887
.RS
934888
.PP
935889
Impact: Low
936-
.PP
937-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
938890
.RE
939891
.TP
940892
\f[V]VM.events\f[R] [\f[I]options\f[R]]
@@ -943,8 +895,6 @@ Print VM event logs
943895
.PP
944896
Impact: Low --- Depends on event log size.
945897
.PP
946-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
947-
.PP
948898
\f[I]options\f[R]:
949899
.PP
950900
\f[B]Note:\f[R]
@@ -967,8 +917,6 @@ Prints information about the JVM environment and status.
967917
.RS
968918
.PP
969919
Impact: Low
970-
.PP
971-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
972920
.RE
973921
.TP
974922
\f[V]VM.log\f[R] [\f[I]options\f[R]]
@@ -978,8 +926,6 @@ output, or rotates all logs.
978926
.PP
979927
Impact: Low
980928
.PP
981-
Permission: \f[V]java.lang.management.ManagementPermission(control)\f[R]
982-
.PP
983929
\f[I]options\f[R]:
984930
.PP
985931
\f[B]Note:\f[R]
@@ -1018,8 +964,6 @@ Prints the VM flag options and their current values.
1018964
.PP
1019965
Impact: Low
1020966
.PP
1021-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
1022-
.PP
1023967
\f[B]Note:\f[R]
1024968
.PP
1025969
The following \f[I]options\f[R] must be specified using either
@@ -1037,8 +981,6 @@ Prints the statistics for the metaspace
1037981
.PP
1038982
Impact: Medium --- Depends on number of classes loaded.
1039983
.PP
1040-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
1041-
.PP
1042984
\f[B]Note:\f[R]
1043985
.PP
1044986
The following \f[I]options\f[R] must be specified using either
@@ -1079,8 +1021,6 @@ Prints native memory usage
10791021
.PP
10801022
Impact: Medium
10811023
.PP
1082-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
1083-
.PP
10841024
\f[B]Note:\f[R]
10851025
.PP
10861026
The following \f[I]options\f[R] must be specified using either
@@ -1132,8 +1072,6 @@ Sets the VM flag option by using the provided value.
11321072
.PP
11331073
Impact: Low
11341074
.PP
1135-
Permission: \f[V]java.lang.management.ManagementPermission(control)\f[R]
1136-
.PP
11371075
\f[I]arguments\f[R]:
11381076
.IP \[bu] 2
11391077
\f[I]flag name\f[R]: The name of the flag that you want to set (STRING,
@@ -1149,8 +1087,6 @@ Dumps the string table.
11491087
.PP
11501088
Impact: Medium --- depends on the Java content.
11511089
.PP
1152-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
1153-
.PP
11541090
\f[B]Note:\f[R]
11551091
.PP
11561092
The following \f[I]options\f[R] must be specified using either
@@ -1168,8 +1104,6 @@ Dumps the symbol table.
11681104
.PP
11691105
Impact: Medium --- depends on the Java content.
11701106
.PP
1171-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
1172-
.PP
11731107
\f[B]Note:\f[R]
11741108
.PP
11751109
The following \f[I]options\f[R] must be specified using either
@@ -1187,8 +1121,6 @@ Prints the statistics for dictionary hashtable sizes and bucket length.
11871121
.PP
11881122
Impact: Medium
11891123
.PP
1190-
Permission: \f[V]java.lang.management.ManagementPermission(monitor)\f[R]
1191-
.PP
11921124
\f[B]Note:\f[R]
11931125
.PP
11941126
The following \f[I]options\f[R] must be specified using either
@@ -1205,8 +1137,6 @@ Prints the system properties.
12051137
.RS
12061138
.PP
12071139
Impact: Low
1208-
.PP
1209-
Permission: \f[V]java.util.PropertyPermission(*, read)\f[R]
12101140
.RE
12111141
.TP
12121142
\f[V]VM.uptime\f[R] [\f[I]options\f[R]]
@@ -1231,7 +1161,4 @@ Prints JVM version information.
12311161
.RS
12321162
.PP
12331163
Impact: Low
1234-
.PP
1235-
Permission:
1236-
\f[V]java.util.PropertyPermission(java.vm.version, read)\f[R]
12371164
.RE

0 commit comments

Comments
 (0)