RFR: 8344181: Remove SecurityManager and related calls from jdk.management and jdk.management.agent [v5]
Kevin Walls
kevinw at openjdk.org
Thu Nov 21 10:17:36 UTC 2024
On Wed, 20 Nov 2024 14:57:12 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Kevin Walls has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - newline
>> - remove implSetParallelism from VSThreadSchedulers
>
> src/jdk.management/share/classes/com/sun/management/internal/VirtualThreadSchedulerImpls.java line 62:
>
>> 60: @Override
>> 61: public final void setParallelism(int size) {
>> 62: Util.checkControlAccess();
>
> Dropping this means that we don't need setParallelism in the base class no need for implSetParallelism. In its place we just rename implSetParallelism to setParallelism in the subclasses.
Got it, yes can remove implSetParallelism.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22155#discussion_r1851754072
More information about the serviceability-dev
mailing list