Ticket #2018 (closed todo: fixed)
Improve pmc2c to support :manual_wb flag.
| Reported by: | bacek | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | none | Version: | 3.1.0 |
| Severity: | medium | Keywords: | |
| Cc: | Language: | ||
| Patch status: | Platform: |
Description
Hello.
Currently pmc2c in gen_gc branch generates automatic write barriers for:
1. VTABLEs marked with :write pragma. 2. All METHODS.
It's quite suboptimal. For example FIA.set_foo_keyed_int shouldn't trigger WB. And many of METHODs aren't mutating state of PMC.
To improve it we have to suppress generation of write barriers when pragma :manual_wb is specified.
-- Bacek
Change History
Note: See
TracTickets for help on using
tickets.
