79236427

Date: 2024-11-29 09:07:18
Score: 1
Natty:
Report link

First, the first point is that in the evolution process of the Instrumentation class, redefine came first, followed by retransform, which is actually an improvement on redefine.

Then, the scope of influence for redefine and retransform differs: transformer

The redefine operation will trigger:

retransformation incapable transformer

retransformation capable transformer

The retransform operation will trigger:

retransformation capable transformer Of course, since canRetransform is generally true nowadays, their functionalities are almost identical. However, when canRetransform is false, there will be differences in behavior between the two.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ares