aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/slice.go
AgeCommit message (Expand)Author
2021-05-02cmd/compile: implement unsafe.Add and unsafe.SliceMatthew Dempsky
2020-09-25runtime: use old capacity to decide on append growth regimeKeith Randall
2020-09-16cmd/compile: unify reflect, string and slice copy runtime functionsMartin Möhrmann
2020-05-07runtime: do not attempt bulkBarrierPreWrite when dst slice length is zeroMartin Möhrmann
2020-05-07cmd/compile: optimize make+copy pattern to avoid memclrMartin Möhrmann
2020-04-08cmd/compile,runtime: pass only ptr and len to some runtime callsJosh Bleecher Snyder
2020-04-08runtime: only check for pointers up to ptrdata, not sizeIan Lance Taylor
2020-02-25runtime: reorder race detector calls in slicecopyKeith Randall
2019-11-15all: fix a bunch of misspellingsVille Skyttä
2019-03-25runtime: remove kindNoPointersKeith Randall
2019-03-25runtime: skip wb call in growslice when unnecessaryJosh Bleecher Snyder
2018-10-29cmd/compile: move slice construction to callers of makesliceMartin Möhrmann
2018-10-23runtime: remove unused maxSliceCap function and maxElems arrayMartin Möhrmann
2018-10-23runtime: use multiplication with overflow check for makesliceMartin Möhrmann
2018-10-23runtime: use multiplication with overflow check for growsliceMartin Möhrmann
2018-08-24runtime: do not execute write barrier on newly allocated slice in growsliceMartin Möhrmann
2018-08-24runtime: replace typedmemmmove with bulkBarrierPreWrite and memmove in growsliceMartin Möhrmann
2018-05-06cmd/compile: optimize append(x, make([]T, y)...) slice extensionMartin Möhrmann
2018-04-21runtime: use sys.PtrSize in growsliceJosh Bleecher Snyder
2018-04-13runtime: avoid division in growsliceIlya Tocar
2018-02-15runtime: replace _MaxMem with maxAllocAustin Clements
2017-11-01runtime: protect growslice against newcap*et.size overflowMartin Möhrmann
2017-10-29runtime: eliminate remaining recordspan write barriersAustin Clements
2017-09-22runtime: remove getcallerpc argumentAustin Clements
2017-08-24runtime: avoid infinite loop in growsliceMartin Möhrmann
2017-08-15runtime: simplify memory capacity check in growsliceMartin Möhrmann
2016-10-28runtime, cmd/compile: rename memclr -> memclrNoHeapPointersAustin Clements
2016-10-04runtime: make append only clear uncopied memoryCarl Mastrangelo
2016-08-29cmd/compile: generate makeslice calls with int argumentsMartin Möhrmann
2016-04-20runtime: simplify mallocgc flag argumentKeith Randall
2016-04-20cmd/compile,runtime: pass elem type to {make,grow}sliceKeith Randall
2016-04-20runtime: call mallocgc directly from makeslice and growsliceJosh Bleecher Snyder
2016-04-19runtime: add maxSliceCapJosh Bleecher Snyder
2016-04-10runtime: speed up makeslice by avoiding divisionsMartin Möhrmann
2016-04-10cmd/compile: avoid a spill in append fast pathJosh Bleecher Snyder
2016-03-25runtime: speed up growslice by avoiding divisions 2Marvin Stenger
2016-03-24runtime: fix inconsistency in slice.goMarvin Stenger
2016-03-14runtime: speed up growslice by avoiding divisionsMartin Möhrmann
2016-03-13cmd/compile, runtime: eliminate growslice_nMatthew Dempsky
2016-03-07runtime: eliminate unnecessary type conversionsMatthew Dempsky
2015-11-16runtime: add optional expensive check for invalid cgo pointer passingIan Lance Taylor
2015-10-21runtime, syscall: add calls to msan functionsIan Lance Taylor
2015-10-20runtime: add stringStructOf helper functionMatthew Dempsky
2015-06-26runtime: reduce slice growth during append to 2xRuss Cox
2015-06-11all: fix misprints in commentsAinar Garipov
2015-05-15runtime: use memmove during slice appendRuss Cox
2015-04-28runtime: replace needwb() with writeBarrierEnabledRuss Cox
2015-04-15runtime: merge slice and sliceStructMichael Hudson-Doyle
2015-03-12runtime: don't return a slice with nil ptr but non-zero len from growsliceShenghou Ma
2015-03-04cmd/internal/gc, runtime: change growslice to use int instead of int64Matthew Dempsky