Give Attributes their own BumpPtrAllocator and SmartRWMutex to make them thread-safe. This is step 2/N to making the MLIRContext thread-safe.
Give Attributes their own BumpPtrAllocator and SmartRWMutex to make them thread-safe. This is step 2/N to making the MLIRContext thread-safe.

PiperOrigin-RevId: 238516542

petewarden/tensorflow,freedomtan/tensorflow,cxxgtxy/tensorflow,petewarden/tensorflow,jhseu/tensorflow,paolodedios/tensorflow,renyi533/tensorflow,yongtang/tensorflow,tensorflow/tensorflow,frreiss/tensorflow-fred,aam-at/tensorflow,DavidNorman/tensorflow,davidzchen/tensorflow,gunan/tensorflow,sarvex/tensorflow,petewarden/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,jhseu/tensorflow,xzturn/tensorflow,karllessard/tensorflow,jhseu/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,ppwwyyxx/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_saved_model,aam-at/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,arborh/tensorflow,xzturn/tensorflow,adit-chandra/tensorflow,frreiss/tensorflow-fred,annarev/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gunan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,petewarden/tensorflow,cxxgtxy/tensorflow,Intel-tensorflow/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,frreiss/tensorflow-fred,annarev/tensorflow,cxxgtxy/tensorflow,frreiss/tensorflow-fred,yongtang/tensorflow,davidzchen/tensorflow,DavidNorman/tensorflow,petewarden/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,arborh/tensorflow,petewarden/tensorflow,DavidNorman/tensorflow,paolodedios/tensorflow,davidzchen/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,cxxgtxy/tensorflow,aam-at/tensorflow,tensorflow/tensorflow,paolodedios/tensorflow,cxxgtxy/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,annarev/tensorflow,gautam1858/tensorflow,renyi533/tensorflow,tensorflow/tensorflow,gautam1858/tensorflow,karllessard/tensorflow,Intel-tensorflow/tensorflow,karllessard/tensorflow,aam-at/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gunan/tensorflow,paolodedios/tensorflow,gautam1858/tensorflow,ppwwyyxx/tensorflow,ppwwyyxx/tensorflow,arborh/tensorflow,Intel-Corporation/tensorflow,freedomtan/tensorflow,arborh/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,adit-chandra/tensorflow,ppwwyyxx/tensorflow,petewarden/tensorflow,sarvex/tensorflow,xzturn/tensorflow,xzturn/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow,ppwwyyxx/tensorflow,jhseu/tensorflow,Intel-Corporation/tensorflow,Intel-Corporation/tensorflow,frreiss/tensorflow-fred,xzturn/tensorflow,tensorflow/tensorflow-pywrap_saved_model,jhseu/tensorflow,karllessard/tensorflow,adit-chandra/tensorflow,paolodedios/tensorflow,ppwwyyxx/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,davidzchen/tensorflow,karllessard/tensorflow,tensorflow/tensorflow,davidzchen/tensorflow,ppwwyyxx/tensorflow,gautam1858/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,freedomtan/tensorflow,karllessard/tensorflow,frreiss/tensorflow-fred,arborh/tensorflow,gunan/tensorflow,xzturn/tensorflow,arborh/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow,Intel-Corporation/tensorflow,gunan/tensorflow,aam-at/tensorflow,annarev/tensorflow,paolodedios/tensorflow,karllessard/tensorflow,yongtang/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,sarvex/tensorflow,freedomtan/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gunan/tensorflow,annarev/tensorflow,cxxgtxy/tensorflow,annarev/tensorflow,jhseu/tensorflow,xzturn/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,annarev/tensorflow,aam-at/tensorflow,gautam1858/tensorflow,Intel-Corporation/tensorflow,paolodedios/tensorflow,DavidNorman/tensorflow,DavidNorman/tensorflow,Intel-tensorflow/tensorflow,Intel-Corporation/tensorflow,xzturn/tensorflow,yongtang/tensorflow,frreiss/tensorflow-fred,renyi533/tensorflow,freedomtan/tensorflow,frreiss/tensorflow-fred,sarvex/tensorflow,jhseu/tensorflow,aldian/tensorflow,aldian/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,adit-chandra/tensorflow,xzturn/tensorflow,arborh/tensorflow,annarev/tensorflow,gautam1858/tensorflow,xzturn/tensorflow,karllessard/tensorflow,renyi533/tensorflow,gunan/tensorflow,ppwwyyxx/tensorflow,aam-at/tensorflow,gautam1858/tensorflow,Intel-tensorflow/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,sarvex/tensorflow,aldian/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aldian/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,sarvex/tensorflow,aldian/tensorflow,aam-at/tensorflow,gunan/tensorflow,cxxgtxy/tensorflow,ppwwyyxx/tensorflow,adit-chandra/tensorflow,jhseu/tensorflow,davidzchen/tensorflow,karllessard/tensorflow,jhseu/tensorflow,Intel-tensorflow/tensorflow,jhseu/tensorflow,adit-chandra/tensorflow,arborh/tensorflow,gunan/tensorflow,sarvex/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,jhseu/tensorflow,petewarden/tensorflow,renyi533/tensorflow,xzturn/tensorflow,Intel-Corporation/tensorflow,frreiss/tensorflow-fred,davidzchen/tensorflow,yongtang/tensorflow,Intel-tensorflow/tensorflow,davidzchen/tensorflow,paolodedios/tensorflow,cxxgtxy/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,DavidNorman/tensorflow,gunan/tensorflow,renyi533/tensorflow,adit-chandra/tensorflow,adit-chandra/tensorflow,ppwwyyxx/tensorflow,annarev/tensorflow,arborh/tensorflow,DavidNorman/tensorflow,freedomtan/tensorflow,yongtang/tensorflow,aam-at/tensorflow,adit-chandra/tensorflow,aam-at/tensorflow,DavidNorman/tensorflow,frreiss/tensorflow-fred,adit-chandra/tensorflow,jhseu/tensorflow,Intel-tensorflow/tensorflow,xzturn/tensorflow,davidzchen/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_saved_model,renyi533/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,Intel-Corporation/tensorflow,renyi533/tensorflow,gautam1858/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ppwwyyxx/tensorflow,tensorflow/tensorflow,davidzchen/tensorflow,annarev/tensorflow,Intel-tensorflow/tensorflow,paolodedios/tensorflow,arborh/tensorflow,frreiss/tensorflow-fred,aldian/tensorflow,DavidNorman/tensorflow,DavidNorman/tensorflow,arborh/tensorflow,tensorflow/tensorflow,aldian/tensorflow,karllessard/tensorflow,annarev/tensorflow,renyi533/tensorflow,DavidNorman/tensorflow,petewarden/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,arborh/tensorflow,aam-at/tensorflow,yongtang/tensorflow,tensorflow/tensorflow,DavidNorman/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gunan/tensorflow,gautam1858/tensorflow,yongtang/tensorflow,tensorflow/tensorflow,aldian/tensorflow,paolodedios/tensorflow,adit-chandra/tensorflow