(新規作成) |
編集の要約なし |
||
(同じ利用者による、間の1版が非表示) | |||
2行目: | 2行目: | ||
== 概要 == |
== 概要 == |
||
− | *[[gcc-4.1.0/gcc/ |
+ | *[[gcc-4.1.0/gcc/ggc-zone.c]]にて定義 |
+ | *PCHゾーンの管理に使用する構造体 |
||
== 実装 == |
== 実装 == |
||
9行目: | 10行目: | ||
463 not live on the linked list of zones. */ |
463 not live on the linked list of zones. */ |
||
</code> |
</code> |
||
− | *struct pch_zone変数はpch_zoneだけのようだ |
+ | *struct pch_zone型の変数はpch_zoneだけのようだ |
<code> |
<code> |
||
464 struct pch_zone |
464 struct pch_zone |
||
465 { |
465 { |
||
+ | </code> |
||
+ | *PCHゾーンの開始点 |
||
+ | <code> |
||
466 /* The start of the PCH zone. NULL if there is none. */ |
466 /* The start of the PCH zone. NULL if there is none. */ |
||
467 char *page; |
467 char *page; |
||
468 |
468 |
||
+ | </code> |
||
+ | *PCHゾーンの終了点 |
||
+ | <code> |
||
469 /* The end of the PCH zone. NULL if there is none. */ |
469 /* The end of the PCH zone. NULL if there is none. */ |
||
470 char *end; |
470 char *end; |
||
471 |
471 |
||
+ | </code> |
||
+ | *PCHゾーンの大きさ |
||
+ | <code> |
||
472 /* The size of the PCH zone. 0 if there is none. */ |
472 /* The size of the PCH zone. 0 if there is none. */ |
||
473 size_t bytes; |
473 size_t bytes; |
||
474 |
474 |
||
+ | </code> |
||
+ | *PCHゾーンのための割り当てビットマップ |
||
+ | <code> |
||
475 /* The allocation bitmap for the PCH zone. */ |
475 /* The allocation bitmap for the PCH zone. */ |
||
476 [[alloc_type]] *alloc_bits; |
476 [[alloc_type]] *alloc_bits; |
2008年6月10日 (火) 14:21時点における最新版
このページを編集する際は,編集に関する方針に従ってください.[]
概要[]
- gcc-4.1.0/gcc/ggc-zone.cにて定義
- PCHゾーンの管理に使用する構造体
実装[]
462 /* The PCH zone does not need a normal zone structure, and it does
463 not live on the linked list of zones. */
- struct pch_zone型の変数はpch_zoneだけのようだ
464 struct pch_zone
465 {
- PCHゾーンの開始点
466 /* The start of the PCH zone. NULL if there is none. */
467 char *page;
468
- PCHゾーンの終了点
469 /* The end of the PCH zone. NULL if there is none. */
470 char *end;
471
- PCHゾーンの大きさ
472 /* The size of the PCH zone. 0 if there is none. */
473 size_t bytes;
474
- PCHゾーンのための割り当てビットマップ
475 /* The allocation bitmap for the PCH zone. */
476 alloc_type *alloc_bits;
477
478 /* If we are currently marking, the mark bitmap for the PCH zone.
479 When it is first read in, we could avoid marking the PCH,
480 because it will not contain any pointers to GC memory outside
481 of the PCH; however, the PCH is currently mapped as writable,
482 so we must mark it in case new pointers are added. */
483 mark_type *mark_bits;
484 } pch_zone;