748 // complete compaction phase than we've tried so far might be |
748 // complete compaction phase than we've tried so far might be |
749 // appropriate. |
749 // appropriate. |
750 return NULL; |
750 return NULL; |
751 } |
751 } |
752 |
752 |
753 size_t GenCollectorPolicy::large_typearray_limit() { |
|
754 return FastAllocateSizeLimit; |
|
755 } |
|
756 |
|
757 // Return true if any of the following is true: |
753 // Return true if any of the following is true: |
758 // . the allocation won't fit into the current young gen heap |
754 // . the allocation won't fit into the current young gen heap |
759 // . gc locker is occupied (jni critical section) |
755 // . gc locker is occupied (jni critical section) |
760 // . heap memory is tight -- the most recent previous collection |
756 // . heap memory is tight -- the most recent previous collection |
761 // was a full collection because a partial collection (would |
757 // was a full collection because a partial collection (would |