Okay, so I recently updated java to java 7 update 55 (64 bit) and that's when all the problems started. My minecraft will open up fine but once i try to join a server or a singleplayer world it would load a few chunks but then freeze and stop responding. Before I updated I was using update 51 (64 bit) and everything was fine. The only mod I normally use is Optifine for 1.7.9, and I don't know if that has anything to do with this, since i was using the exact same version of it before i updated java. I use 64-bit Windows 7 and Java 7 (obviously).
Any help is appreciated :).