emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strings referred to by Vsjis_coding_system, Vbig5_coding_system


From: Dan Nicolaescu
Subject: Re: strings referred to by Vsjis_coding_system, Vbig5_coding_system
Date: Mon, 16 Nov 2009 21:08:05 -0800 (PST)

Kenichi Handa <address@hidden> writes:

  > In article <address@hidden>, Dan Nicolaescu <address@hidden> writes:
  > 
  > > I can't find one at the moment, and unfortunately I did not save a
  > > debugging session.
  > > All the ones that I find at the moment are referred to from 
Vcoding_system_hash_table.
  > > Can you please figure out this one?
  > 
  > Ah, then I think that \377 string is to record safely
  > encodable character sets for each coding system.  If Nth
  > element is not \377, the charset whose ID is N is encodable
  > by that coding system.
  > 
  > And, yes, those strings can be in pure memory when created
  > by temacs.  But, note that one can change a definition of a
  > coding system at runtime (perhaps rarely happen) and it
  > makes the string in pure memory accessed from nowhere.

That's fine, instead of everyone having to pay the price of GCing all
those strings, it's not too bad if they are dead in the very rare case
the coding system is changed at runtime.

Are there any other parts of the coding system that are in GC memory and
can be put in pure memory?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]