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 ã
{{#tags}}- {{label}}
{{/tags}}