Explaining glibc malloc internals. slide: http://www.slideshare.net/kosaki55tea/glibc-malloc
2. ä»æ¥ã¯ä½ã®è©±ï¼ libc ã§ãã£ã¨ãè¯ã使ãããé¢æ°ã malloc 㨠free ã®å®è£ ã®è§£èª¬ ãã£ã¨ä¸è¬çã«è¨ãã¨ãããã»ã¹ã®ã¢ãã¬ã¹ç©ºéã®ãã¡ã heap é åã¨ãã°ãããå ´æãæä½ããé¢æ°ã®èª¬æ 解説ã¨ããã¨èããã¯ãããããããªå¤§å±¤ãªãã®ãããªã 3. Linux ã§ã® process address space model kernel stack text mmap data bss heap ç¢å°ã¯ãã¼ã¿éã®å¢å 㨠ã¨ãã«ã伸ã³ãæ¹å 使ç¨ä¸ 使ç¨ä¸ 使ç¨ä¸ ä»æ¥ã¯ãããã heap ã¨å¼ã°ããé åã®ã話 low high free free free 4. å¤å ¸ç malloc ããã°ã©ãã³ã°è¨èª C ï¼ãããã K&R) ã§ç´¹ä»ãããåæã® Unix ã® malloc å®è£ 使ç¨ä¸ 使ç¨ä¸ 使ç¨ä¸ free listã® head 使ç¨ä¸ ã» free list ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}