mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-03 01:42:18 +01:00 
			
		
		
		
	Revert "Bug 724590 - GSlice slab_stack corruption"
This reverts commit c49ec3c8d7.
			
			
This commit is contained in:
		@@ -715,8 +715,7 @@ static ChunkLink*
 | 
			
		||||
magazine_cache_pop_magazine (guint  ix,
 | 
			
		||||
                             gsize *countp)
 | 
			
		||||
{
 | 
			
		||||
  guint *counters = allocator->contention_counters;
 | 
			
		||||
  g_mutex_lock_a (&allocator->magazine_mutex, &counters[ix]);
 | 
			
		||||
  g_mutex_lock_a (&allocator->magazine_mutex, &allocator->contention_counters[ix]);
 | 
			
		||||
  if (!allocator->magazines[ix])
 | 
			
		||||
    {
 | 
			
		||||
      guint magazine_threshold = allocator_get_magazine_threshold (allocator, ix);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user