#1745: profiling runcore fails with NQP
----------------------+-----------------------------------------------------
Reporter: pmichaud | Owner: cotto
Type: bug | Status: new
Priority: normal | Milestone:
Component: core | Version: 2.6.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
----------------------+-----------------------------------------------------
Comment(by cotto):
A third possibility exists: instead of creating a half-valid dummy
context, create a full pcc sub with the right hll, context, ns, etc. and
call that. It would slow down library loading by one additional pcc
call/return, but that doesn't need to happen very often. I'm not sure if
this could be done in a sane manner, but if we always want load_bytecode
to happen in the 'parrot' HLL, this way seems like it'd break the fewest
reasonable assumptions which a piece of code would make about the state of
a running interpreter.
That said, I don't know if this is feasible or practical. Suggestions are
welcome.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1745#comment:7>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets