In Japan and other Southeast Asian countries including Thailand , Taiwan and Malaysia , the peas are roasted and salted , and eaten as snacks . In Japan , China , Taiwan and some Southeast Asian countries , including Thailand and Malaysia , peas are roasted and salted , and eaten as snacks .