解:
A. 密度是物质的特性,与体积无关,A错误。
B. 甲物质:当$V_{\mathrm{甲}}=1\,\mathrm{cm}^3$时,$m_{\mathrm{甲}}=8\,\mathrm{g}$,$\rho_{\mathrm{甲}}=\frac{m_{\mathrm{甲}}}{V_{\mathrm{甲}}}=\frac{8\,\mathrm{g}}{1\,\mathrm{cm}^3}=8\,\mathrm{g/cm}^3$,B错误。
C. 乙物质:当$V_{\mathrm{乙}}=4\,\mathrm{cm}^3$时,$m_{\mathrm{乙}}=4\,\mathrm{g}$,$\rho_{\mathrm{乙}}=\frac{m_{\mathrm{乙}}}{V_{\mathrm{乙}}}=\frac{4\,\mathrm{g}}{4\,\mathrm{cm}^3}=1\,\mathrm{g/cm}^3$,$\rho_{\mathrm{甲}}:\rho_{\mathrm{乙}}=8:1$,C错误。
D. 体积相同时,$m_{\mathrm{甲}}:m_{\mathrm{乙}}=\rho_{\mathrm{甲}}V:\rho_{\mathrm{乙}}V=8:1$,D正确。
答案:D