Ticket #1506 (closed deprecation: fixed)

Opened 12 years ago

Last modified 12 years ago

PMC attribute allocation flags design and evolution

Reported by: NotFound Owned by: coke
Priority: minor Milestone:
Component: none Version: 2.1.0
Severity: low Keywords: pmc auto_attrs manual_attrs
Cc: Language:
Patch status: Platform:

Description

Some months ago we introduced the PMC flag auto_attrs and his supporting code to automatically allocate and deallocate memory for the PMC attributes. The idea was that the switch to automatic allocation can be error prone and must be done in small steps, keeping the old way as default.

Now that the auto_attrs feature is firmly stablished is time for the next step. r44537 introduces the manual_attrs flag, and emits a warning when none of auto_attrs or manual_attrs is used.

The next step will be to replace that warning with an error, maybe with an earlier stage that just checks the condition during make test. We must decide a release number to put that change in effect and set a deprecation notice.

After that and other deprecation cycle we can declare auto_attrs as the default and relax the checks.

This ticket summarizes comments and decisions dispersed in #parrotsketch and #parrot logs, and will be updated to document further design decisions and related changes in the implementation.

Change History

Changed 12 years ago by NotFound

Note: TT #895 covers the introduction of the auto_attrs flag.

Changed 12 years ago by NotFound

  • status changed from new to assigned
  • type changed from experimental to deprecation

Deprecation notice added in r45807

Changed 12 years ago by coke

  • status changed from assigned to new
  • owner changed from NotFound to coke

Made required in r46261.

Changed 12 years ago by coke

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.