Mercurial > hg > truffle
comparison src/share/vm/memory/collectorPolicy.cpp @ 3774:c9ca3f51cf41
6994322: Remove the is_tlab and is_noref / is_large_noref parameters from the CollectedHeap
Summary: Remove two unused parameters from the mem_allocate() method and update its uses accordingly.
Reviewed-by: stefank, johnc
author | tonyp |
---|---|
date | Thu, 16 Jun 2011 15:51:57 -0400 |
parents | a1d5f532838d |
children | f08d439fab8c |
comparison
equal
deleted
inserted
replaced
3773:5130fa1b24f1 | 3774:c9ca3f51cf41 |
---|---|
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 |