With a long-term investment horizon, the positive supply-and-demand story around GlobalFoundries makes the shares a buy . But the stock is volatile, and the big capacity expansion that began in 2021 may mean producers will be dealing with rising inventories and an oversupply in a few years.