[GHC] #14090: Static pointers are not being registered under certain conditions
GHC
ghc-devs at haskell.org
Fri Aug 18 20:53:32 UTC 2017
#14090: Static pointers are not being registered under certain conditions
-------------------------------------+-------------------------------------
Reporter: mnislaih | Owner: (none)
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D3843
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by simonpj):
> inline-java was using the static pointer table to store java bytecode.
Crumbs! It was never designed for that purpose! It's like using a hammer
to mow the lawn: a tool for one job used for another. The trouble is
that, becuase it wasn't designed for the purpose, it keeps failing to
serve that purpose. The danger is that, to keep serving the accidental
application, the original concept gets muddied.
Let's stand back. If we want to register bytecode objects (I'm terribly
hazy about what that even means) what is a general, re-usable mechanism
that GHC might provide to make that (and perhaps other things) possible?
You say you aren't using the SPT for this purpose any more. What are you
using? Does it nicely serve the purpose? Could mnislaih use it too?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14090#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list