aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/slice.go
AgeCommit message (Expand)Author
2022-10-18runtime: replace all uses of CtzXX with TrailingZerosXXYoulin Feng
2022-10-15reflect: add Value.GrowJoe Tsai
2022-09-01cmd/compile,runtime: redo growslice calling conventionKeith Randall
2022-08-31cmd/compile: add support for unsafe.{String,StringData,SliceData}cuiweixie
2022-08-19runtime: add and use runtime/internal/sys.NotInHeapCuong Manh Le
2022-08-16runtime: redo heap bitmapKeith Randall
2022-08-10runtime: fix gofmt errorKeith Randall
2022-08-09Revert "runtime: redo heap bitmap"Keith Randall
2022-08-08cmd/compile: avoid assignment conversion in append(a, b...)Keith Randall
2022-08-08runtime: redo heap bitmapKeith Randall
2022-08-08cmd/compile,runtime: panic when unsafe.Slice param is nil and > 0cuiweixie
2022-05-11cmd/compile,runtime: open code unsafe.SliceCuong Manh Le
2022-02-05runtime: change sys.PtrSize to goarch.PtrSize in commentsIan Lance Taylor
2021-11-02runtime, syscall: add calls to asan functionsfanzha02
2021-10-13unsafe: optimize Slice bounds checkingMatthew Dempsky
2021-10-13unsafe: allow unsafe.Slice up to end of address spaceMatthew Dempsky
2021-09-27runtime: make slice growth formula a bit smootherKeith Randall
2021-06-30[dev.typeparams] all: merge master (4711bf3) into dev.typeparamsMatthew Dempsky
2021-06-28cmd/compile,runtime: change unsafe.Slice((*T)(nil), 0) to return []T(nil)Matthew Dempsky
2021-06-17[dev.typeparams] runtime: fix import sort order [generated]Michael Anthony Knyszek
2021-06-17[dev.typeparams] runtime: replace uses of runtime/internal/sys.PtrSize with i...Michael Anthony Knyszek
2021-05-21[dev.typeparams] runtime: replace funcPC with internal/abi.FuncPCABIInternalCherry Mui
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