Skip to content

Commit 5af9d2a

Browse files
author
Serguei Spitsyn
committed
8309602: update JVMTI history table for jdk 21
Reviewed-by: alanb, iris
1 parent 6646272 commit 5af9d2a

File tree

1 file changed

+34
-44
lines changed

1 file changed

+34
-44
lines changed

src/hotspot/share/prims/jvmti.xml

+34-44
Original file line numberDiff line numberDiff line change
@@ -15392,60 +15392,52 @@ typedef void (JNICALL *jvmtiEventVMInit)
1539215392
</change>
1539315393
<change date="13 October 2016" version="9.0.0">
1539415394
Support for modules:
15395-
- The majorversion is 9 now
15396-
- The ClassFileLoadHook events are not sent during the primordial phase anymore.
15397-
- Allow CompiledMethodLoad events at start phase
15398-
- Add new capabilities:
15399-
- can_generate_early_vmstart
15400-
- can_generate_early_class_hook_events
15401-
- Add new functions:
15402-
- GetAllModules
15403-
- AddModuleReads, AddModuleExports, AddModuleOpens, AddModuleUses, AddModuleProvides
15404-
- IsModifiableModule
15405-
Clarified can_redefine_any_classes, can_retransform_any_classes and IsModifiableClass API to
15406-
disallow some implementation defined classes.
15395+
The majorversion is 9 now.
15396+
The ClassFileLoadHook events are not sent during the primordial phase anymore.
15397+
Allow CompiledMethodLoad events at start phase.
15398+
Add new capabilities: can_generate_early_vmstart, can_generate_early_class_hook_events.
15399+
Add new functions: GetAllModules, AddModuleReads, AddModuleExports,
15400+
AddModuleOpens, AddModuleUses, AddModuleProvides, IsModifiableModule.
15401+
Clarified can_redefine_any_classes, can_retransform_any_classes and
15402+
IsModifiableClass API to disallow some implementation defined classes.
1540715403
</change>
1540815404
<change date="12 February 2017" version="9.0.0">
1540915405
Minor update for GetCurrentThread function:
15410-
- The function may return NULL in the start phase if the
15411-
can_generate_early_vmstart capability is enabled.
15406+
The function may return NULL in the start phase if the
15407+
can_generate_early_vmstart capability is enabled.
1541215408
</change>
1541315409
<change date="7 February 2018" version="11.0.0">
1541415410
Minor update for new class file NestHost and NestMembers attributes:
15415-
- Specify that RedefineClasses and RetransformClasses are not allowed
15416-
to change the class file NestHost and NestMembers attributes.
15417-
- Add new error JVMTI_ERROR_UNSUPPORTED_REDEFINITION_CLASS_ATTRIBUTE_CHANGED
15418-
that can be returned by RedefineClasses and RetransformClasses.
15411+
Specify that RedefineClasses and RetransformClasses are not allowed
15412+
to change the class file NestHost and NestMembers attributes;
15413+
Add new error JVMTI_ERROR_UNSUPPORTED_REDEFINITION_CLASS_ATTRIBUTE_CHANGED
15414+
that can be returned by RedefineClasses and RetransformClasses.
1541915415
</change>
1542015416
<change date="15 June 2018" version="11.0.0">
1542115417
Support for Low Overhead Heap Sampling:
15422-
- Add new capability:
15423-
- can_generate_sampled_object_alloc_events
15424-
- Add new function:
15425-
- SetHeapSamplingInterval
15426-
- Add new event type:
15427-
- JVMTI_EVENT_SAMPLED_OBJECT_ALLOC
15418+
Add new capability: can_generate_sampled_object_alloc_events.
15419+
Add new function: SetHeapSamplingInterval.
15420+
Add new event type: JVMTI_EVENT_SAMPLED_OBJECT_ALLOC.
1542815421
</change>
1542915422
<change date="20 May 2019" version="13.0.0">
1543015423
Minor spec update for the capability "can_redefine_any_class".
15431-
It now says:
15432-
"RedefineClasses can be called on any modifiable class. See IsModifiableClass.
15433-
(can_redefine_classes must also be set)"
15424+
It now says: "RedefineClasses can be called on any modifiable class."
15425+
See IsModifiableClass. (can_redefine_classes must also be set)
1543415426
</change>
1543515427
<change date="5 June 2019" version="13.0.0">
1543615428
Minor PopFrame spec update:
15437-
- The specified thread must be suspended or must be the current thread.
15438-
(It was not allowed to be the current thread before.)
15429+
The specified thread must be suspended or must be the current thread.
15430+
(It was not allowed to be the current thread before.)
1543915431
</change>
1544015432
<change date="10 October 2019" version="14.0.0">
1544115433
Minor update for new class file Record attribute:
15442-
- Specify that RedefineClasses and RetransformClasses are not allowed
15443-
to change the class file Record attribute.
15434+
Specify that RedefineClasses and RetransformClasses are not allowed
15435+
to change the class file Record attribute.
1544415436
</change>
1544515437
<change date="13 May 2020" version="15.0.0">
1544615438
Minor update for new class file PermittedSubclasses attribute:
15447-
- Specify that RedefineClasses and RetransformClasses are not allowed
15448-
to change the class file PermittedSubclasses attribute.
15439+
Specify that RedefineClasses and RetransformClasses are not allowed
15440+
to change the class file PermittedSubclasses attribute.
1544915441
</change>
1545015442
<change date="15 January 2021" version="17.0.0">
1545115443
Minor clarification in the section "Agent Shutdown" that says the
@@ -15456,17 +15448,15 @@ typedef void (JNICALL *jvmtiEventVMInit)
1545615448
Minor update to deprecate Heap functions 1.0.
1545715449
</change>
1545815450
<change date="27 April 2022" version="19.0.0">
15459-
Support for virtual threads:
15460-
- Add new capability:
15461-
- can_support_virtual_threads
15462-
- Add new functions:
15463-
- SuspendAllVirtualThreads
15464-
- ResumeAllVirtualThreads
15465-
- Add new event types:
15466-
- JVMTI_EVENT_VIRTUAL_THREAD_START
15467-
- JVMTI_EVENT_VIRTUAL_THREAD_END
15468-
- Add new error code:
15469-
- JVMTI_ERROR_UNSUPPORTED_OPERATION
15451+
Support for virtual threads (Preview):
15452+
Add new capability: can_support_virtual_threads.
15453+
Add new functions: SuspendAllVirtualThreads, ResumeAllVirtualThreads.
15454+
Add new event types: JVMTI_EVENT_VIRTUAL_THREAD_START, JVMTI_EVENT_VIRTUAL_THREAD_END.
15455+
Add new error code: JVMTI_ERROR_UNSUPPORTED_OPERATION.
15456+
</change>
15457+
<change date="7 June 2023" version="21.0.0">
15458+
Virtual threads finalized to be a permanent feature.
15459+
Agent start-up in the live phase now specified to print a warning.
1547015460
</change>
1547115461
</changehistory>
1547215462

0 commit comments

Comments
 (0)