Heavy-quark jets in hadronic collisions